home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / mozilla.odl < prev    next >
Encoding:
Text File  |  1998-04-08  |  5.0 KB  |  170 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. // mozilla.odl : type library source for mozilla.exe
  21.  
  22. // This file will be processed by the Make Type Library (mktyplib) tool to
  23. // produce the type library (mozilla.tlb).
  24.  
  25. [ uuid(41453471-3850-11CE-8193-0020AF18F905), version(1.0) ]
  26. library mozilla
  27. {
  28.     importlib("stdole32.tlb");    
  29.  
  30.  
  31.     //  Primary dispatch interface for CNetworkCX
  32.     
  33.     [ uuid(EF5F7051-385A-11CE-8193-0020AF18F905) ]
  34.     dispinterface INetwork
  35.     {
  36.         properties:
  37.             // NOTE - ClassWizard will maintain property information here.
  38.             //    Use extreme caution when editing this section.
  39.             //{{AFX_ODL_PROP(CNetworkCX)
  40.             [id(1)] BSTR Username;
  41.             [id(2)] BSTR Password;
  42.             [id(3)] boolean FlagShowAllNews;
  43.             [id(4)] boolean FlagFancyFTP;
  44.             [id(5)] boolean FlagFancyNews;
  45.             //}}AFX_ODL_PROP
  46.             
  47.         methods:
  48.             // NOTE - ClassWizard will maintain method information here.
  49.             //    Use extreme caution when editing this section.
  50.             //{{AFX_ODL_METHOD(CNetworkCX)
  51.             [id(6)] void Close();
  52.             [id(7)] short Read(BSTR* pBuffer, short iAmount);
  53.             [id(8)] long GetStatus();
  54.             [id(9)] boolean Open(BSTR pURL, short iMethod, BSTR pPostData, long lPostDataSize, BSTR pPostHeaders);
  55.             [id(10)] BSTR GetErrorMessage();
  56.             [id(11)] short GetServerStatus();
  57.             [id(12)] long GetContentLength();
  58.             [id(13)] BSTR GetContentType();
  59.             [id(14)] BSTR GetContentEncoding();
  60.             [id(15)] BSTR GetExpires();
  61.             [id(16)] BSTR GetLastModified();
  62.             [id(17)] BSTR Resolve(BSTR pBase, BSTR pRelative);
  63.             [id(18)] boolean IsFinished();
  64.             [id(19)] short BytesReady();
  65.             //}}AFX_ODL_METHOD
  66.  
  67.     };
  68.  
  69.     //  Class information for CNetworkCX
  70.  
  71.     [ uuid(EF5F7050-385A-11CE-8193-0020AF18F905) ]
  72.     coclass CNetworkCX
  73.     {
  74.         [default] dispinterface INetwork;
  75.     };
  76.  
  77.  
  78.     //  Primary dispatch interface for COleRegistry
  79.     
  80.     [ uuid(E67D6A11-4438-11CE-8CE4-0020AF18F905) ]
  81.     dispinterface IOleRegistry
  82.     {
  83.         properties:
  84.             // NOTE - ClassWizard will maintain property information here.
  85.             //    Use extreme caution when editing this section.
  86.             //{{AFX_ODL_PROP(COleRegistry)
  87.             //}}AFX_ODL_PROP
  88.             
  89.         methods:
  90.             // NOTE - ClassWizard will maintain method information here.
  91.             //    Use extreme caution when editing this section.
  92.             //{{AFX_ODL_METHOD(COleRegistry)
  93.             [id(1)] boolean RegisterViewer(BSTR pMimeType, BSTR pRegistryName);
  94.             [id(2)] boolean RegisterProtocol(BSTR pProtocol, BSTR pRegistryName);
  95.             [id(3)] boolean RegisterStartup(BSTR pRegistryName);
  96.             [id(4)] boolean RegisterShutdown(BSTR pRegistryName);
  97.             //}}AFX_ODL_METHOD
  98.  
  99.     };
  100.  
  101.     //  Class information for COleRegistry
  102.  
  103.     [ uuid(E67D6A10-4438-11CE-8CE4-0020AF18F905) ]
  104.     coclass COleRegistry
  105.     {
  106.         [default] dispinterface IOleRegistry;
  107.     };
  108.  
  109.     //  Primary dispatch interface for COleHelp
  110.     
  111.     [ uuid(60403D80-872B-11CF-ACC8-0080C82BE3B6) ]
  112.     dispinterface IOleHelp
  113.     {
  114.         properties:
  115.             // NOTE - ClassWizard will maintain property information here.
  116.             //    Use extreme caution when editing this section.
  117.             //{{AFX_ODL_PROP(COleHelp)
  118.             //}}AFX_ODL_PROP
  119.             
  120.         methods:
  121.             // NOTE - ClassWizard will maintain method information here.
  122.             //    Use extreme caution when editing this section.
  123.             //{{AFX_ODL_METHOD(COleHelp)
  124.             [id(1)] void HtmlHelp(BSTR pMapFileUrl, BSTR pId, BSTR pSearch);
  125.             //}}AFX_ODL_METHOD
  126.  
  127.     };
  128.  
  129.     //  Class information for COleHelp
  130.  
  131.     [ uuid(60403D81-872B-11CF-ACC8-0080C82BE3B6) ]
  132.     coclass Help
  133.     {
  134.         [default] dispinterface IOleHelp;
  135.     };
  136.  
  137.  
  138.     //  Primary dispatch interface for CTalkSM
  139.     
  140.     [ uuid(BA90A413-A5DD-11CF-A796-0020AF9C1ACE) ]
  141.     dispinterface ITalkSMServ
  142.     {
  143.         properties:
  144.             // NOTE - ClassWizard will maintain property information here.
  145.             //    Use extreme caution when editing this section.
  146.             //{{AFX_ODL_PROP(CTalkSMServ)
  147.             //}}AFX_ODL_PROP
  148.             
  149.         methods:
  150.             // NOTE - ClassWizard will maintain method information here.
  151.             //    Use extreme caution when editing this section.
  152.             //{{AFX_ODL_METHOD(CTalkSMServ)
  153.             [id(1)] long LoadingURL(BSTR url);
  154.             [id(2)] long SavedURL(BSTR url);
  155.             [id(3)] long BecomeActive();
  156.             //}}AFX_ODL_METHOD
  157.  
  158.     };
  159.  
  160.     //  Class information for CTalkSM
  161.  
  162.     [ uuid(F5C5B9B3-9F94-11CF-A790-0020AF9C1ACE) ]
  163.     coclass CTalkSMServ
  164.     {
  165.         [default] dispinterface ITalkSMServ;
  166.     };
  167.  
  168.     //{{AFX_APPEND_ODL}}
  169. };
  170.