home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / SHPLUGIN.IDL < prev    next >
Text File  |  1995-11-08  |  2KB  |  63 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*                                                                  */
  13. /********************************************************************/
  14.  
  15.  
  16. #ifndef _SHPLUGIN_
  17. #define _SHPLUGIN_
  18.  
  19. #ifndef _EXTENSN_
  20. #include "Extensn.idl"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Classes defined in this interface
  25. //==============================================================================
  26.  
  27. interface   ODShellPlugIn;
  28.  
  29. //==============================================================================
  30. // Classes used by this interface
  31. //==============================================================================
  32.  
  33. interface   ODPart;
  34. interface   ODDraft;
  35.  
  36. //==============================================================================
  37. // ODShellPlugIn
  38. //==============================================================================
  39.  
  40. interface ODShellPlugIn : ODExtension
  41. {
  42.   void InitShellPlugIn(in ODPart base);
  43.  
  44.   void Install(in ODDraft draft);
  45.  
  46. #ifdef __SOMIDL__
  47.   implementation
  48.   {
  49.       functionprefix = ODShellPlugIn;
  50.  
  51.     override:
  52.       somInit,
  53.       somUninit,
  54.       Release;
  55.     releaseorder:
  56.       InitShellPlugIn,
  57.       Install;
  58.   };
  59. #endif
  60. };
  61.  
  62. #endif // _SHPLUGIN_
  63.