home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / nscape16.odl < prev    next >
Encoding:
Text File  |  1998-04-08  |  4.2 KB  |  141 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19.  
  20.  
  21. // netscape.odl : type library source for netscape.exe
  22.  
  23. // This file will be processed by the Make Type Library (mktyplib) tool to
  24. // produce the type library (netscape.tlb).
  25.  
  26. [ uuid(41453471-3850-11CE-8193-0020AF18F905), version(1.0) ]
  27. library netscape
  28. {
  29.     importlib("stdole.tlb");    
  30.  
  31.  
  32.     //  Primary dispatch interface for CNetwork
  33.     
  34.     [ uuid(EF5F7051-385A-11CE-8193-0020AF18F905) ]
  35.     dispinterface INetwork
  36.     {
  37.         properties:
  38.             // NOTE - ClassWizard will maintain property information here.
  39.             //    Use extreme caution when editing this section.
  40.             //{{AFX_ODL_PROP(CNetwork)
  41.             [id(1)] BSTR Username;
  42.             [id(2)] BSTR Password;
  43.             [id(3)] boolean FlagShowAllNews;
  44.             [id(4)] boolean FlagFancyFTP;
  45.             [id(5)] boolean FlagFancyNews;
  46.             //}}AFX_ODL_PROP
  47.             
  48.         methods:
  49.             // NOTE - ClassWizard will maintain method information here.
  50.             //    Use extreme caution when editing this section.
  51.             //{{AFX_ODL_METHOD(CNetwork)
  52.             [id(6)] void Close();
  53.             [id(7)] short Read(BSTR* pBuffer, short iAmount);
  54.             [id(8)] long GetStatus();
  55.             [id(9)] boolean Open(BSTR pURL, short iMethod, BSTR pPostData, long lPostDataSize, BSTR pPostHeaders);
  56.             [id(10)] BSTR GetErrorMessage();
  57.             [id(11)] short GetServerStatus();
  58.             [id(12)] long GetContentLength();
  59.             [id(13)] BSTR GetContentType();
  60.             [id(14)] BSTR GetContentEncoding();
  61.             [id(15)] BSTR GetExpires();
  62.             [id(16)] BSTR GetLastModified();
  63.             [id(17)] BSTR Resolve(BSTR pBase, BSTR pRelative);
  64.             [id(18)] boolean IsFinished();
  65.             [id(19)] short BytesReady();
  66.             //}}AFX_ODL_METHOD
  67.  
  68.     };
  69.  
  70.     //  Class information for CNetwork
  71.  
  72.     [ uuid(EF5F7050-385A-11CE-8193-0020AF18F905) ]
  73.     coclass CNetwork
  74.     {
  75.         [default] dispinterface INetwork;
  76.     };
  77.  
  78.  
  79.     //  Primary dispatch interface for COleRegistry
  80.     
  81.     [ uuid(E67D6A11-4438-11CE-8CE4-0020AF18F905) ]
  82.     dispinterface IOleRegistry
  83.     {
  84.         properties:
  85.             // NOTE - ClassWizard will maintain property information here.
  86.             //    Use extreme caution when editing this section.
  87.             //{{AFX_ODL_PROP(COleRegistry)
  88.             //}}AFX_ODL_PROP
  89.             
  90.         methods:
  91.             // NOTE - ClassWizard will maintain method information here.
  92.             //    Use extreme caution when editing this section.
  93.             //{{AFX_ODL_METHOD(COleRegistry)
  94.             [id(1)] boolean RegisterViewer(BSTR pMimeType, BSTR pRegistryName);
  95.             [id(2)] boolean RegisterProtocol(BSTR pProtocol, BSTR pRegistryName);
  96.             [id(3)] boolean RegisterStartup(BSTR pRegistryName);
  97.             [id(4)] boolean RegisterShutdown(BSTR pRegistryName);
  98.             //}}AFX_ODL_METHOD
  99.  
  100.     };
  101.  
  102.     //  Class information for COleRegistry
  103.  
  104.     [ uuid(E67D6A10-4438-11CE-8CE4-0020AF18F905) ]
  105.     coclass COleRegistry
  106.     {
  107.         [default] dispinterface IOleRegistry;
  108.     };
  109.  
  110.  
  111.     //  Primary dispatch interface for COleHelp
  112.     
  113.     [ uuid(60403D80-872B-11CF-ACC8-0080C82BE3B6) ]
  114.     dispinterface IOleHelp
  115.     {
  116.         properties:
  117.             // NOTE - ClassWizard will maintain property information here.
  118.             //    Use extreme caution when editing this section.
  119.             //{{AFX_ODL_PROP(COleHelp)
  120.             //}}AFX_ODL_PROP
  121.             
  122.         methods:
  123.             // NOTE - ClassWizard will maintain method information here.
  124.             //    Use extreme caution when editing this section.
  125.             //{{AFX_ODL_METHOD(COleHelp)
  126.             [id(1)] void HtmlHelp(BSTR pMapFileUrl, BSTR pId, BSTR pSearch);
  127.             //}}AFX_ODL_METHOD
  128.  
  129.     };
  130.  
  131.     //  Class information for COleHelp
  132.  
  133.     [ uuid(60403D81-872B-11CF-ACC8-0080C82BE3B6) ]
  134.     coclass Help
  135.     {
  136.         [default] dispinterface IOleHelp;
  137.     };
  138.  
  139.     //{{AFX_APPEND_ODL}}
  140. };
  141.