home *** CD-ROM | disk | FTP | other *** search
/ distrib.akp.su/Programming/Vb-6+Rus/ / distrib.akp.su.tar / distrib.akp.su / Programming / Vb-6+Rus / COMMON / MSDEV98 / BIN / IDE / ADDINWZ.AWX / TEMPLATE / ROOT.ODL < prev    next >
Text File  |  1998-06-18  |  1KB  |  62 lines

  1. // $$root$$.odl : type library source for $$root$$.dll
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library ($$root$$.tlb).
  5.  
  6. [    uuid($$TLID_ODL$$), version(1.0),
  7.     helpstring ("$$SAFE_ROOT$$ Developer Studio Add-in") ]
  8. library $$safe_root$$
  9. {
  10.     importlib("stdole32.tlb");
  11. $$IF(EVENTS)
  12.     importlib("devshl.dll");
  13.     importlib("ide\devdbg.pkg");
  14. $$ENDIF //EVENTS
  15.     
  16.  
  17.     //  Dual interface for CCommands
  18.     //
  19.     //  All commands that your add-in adds to DevStudio
  20.     //   must appear in this interface.  You may use the
  21.     //   ClassView to add methods to this interface, which
  22.     //   will cause stub implementations of those methods to
  23.     //   appear in your CCommands class.
  24.     
  25.     [    uuid($$IID_ICommands_ODL$$),
  26.         oleautomation,
  27.         dual
  28.     ]
  29.  
  30.     interface ICommands : IDispatch
  31.     {
  32.         // methods
  33.         [id(1)]
  34.         HRESULT $$Safe_root$$CommandMethod();
  35.     };
  36.  
  37.     //  Class information for CCommands
  38.  
  39.     [ uuid($$CLSID_Commands_ODL$$) ]
  40.     coclass Commands
  41.     {
  42.         [default] interface ICommands;
  43.     };
  44. $$IF(EVENTS)
  45.  
  46.     [ hidden, uuid($$CLSID_ApplicationEvents_ODL$$) ]
  47.     coclass ApplicationEvents
  48.     {
  49.         [default] interface IApplicationEvents;
  50.     }
  51.  
  52.     [ hidden, uuid($$CLSID_DebuggerEvents_ODL$$) ]
  53.     coclass DebuggerEvents
  54.     {
  55.         [default] interface IDebuggerEvents;
  56.     }
  57. $$ENDIF //EVENTS
  58.  
  59.     //{{AFX_APPEND_ODL}}
  60.     //}}AFX_APPEND_ODL}}
  61. };
  62.