home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Getting Started / MPW Development / MPW Additions / INTO Interfaces&Libraries / Cyberdog SDK / PublicIncludes / SimpleCyberService.idl < prev    next >
Encoding:
Text File  |  1996-08-02  |  1.0 KB  |  54 lines  |  [TEXT/MPS ]

  1. #ifndef __SIMPLECYBERSERVICE__
  2. #define __SIMPLECYBERSERVICE__
  3.  
  4. #include "CyberService.idl"
  5.  
  6. //==============================================================================
  7. // SimpleCyberService
  8. //==============================================================================
  9.  
  10. interface SimpleCyberService : CyberService
  11. {
  12.         
  13.         void            DoMenuItemSelected(in long index, in ODFrame frame, in CyberMenuData menuData);
  14.  
  15. #ifdef __SOMIDL__
  16.     implementation
  17.     {
  18.       functionprefix = SimpleCyberService__;
  19.  
  20.     override:
  21.         somInit,
  22.         somUninit,
  23.         ICyberService,
  24.         GetName,
  25.         GetIconSuite,
  26.         OwnsURL,
  27.         CreateCyberItem,
  28.         DoCyberMenuCommand,
  29.         AppendCyberMenuCommands,
  30.         AdjustCyberMenu,
  31.         GetConnectPartKind,
  32.         GetPrefsPartKind;
  33.         
  34.     releaseorder:
  35.         DoMenuItemSelected;
  36.  
  37.     #ifdef __PRIVATE__
  38.         StringPtr        fName;
  39.         char*            fCyberItemClassName;
  40.         char*            fURLScheme;
  41.         char*            fConnectPartKind;
  42.         char*            fPrefsPartKind;
  43.         Handle            fIconSuite;
  44.         long            fNumMenuItems;
  45.         StringPtr*        fMenuItemNames;
  46.         long            fCommandOffset;
  47.     #endif
  48.  
  49.     };
  50. #endif
  51. };
  52.  
  53. #endif // __SIMPLECYBERSERVICE__
  54.