home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / CLIPBDB.IDL < prev    next >
Text File  |  1995-11-08  |  3KB  |  83 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 _CLIPBDB_
  17. #define _CLIPBDB_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //=====================================================================================
  24. // Classes defined in this interface
  25. //=====================================================================================
  26.  
  27. interface  ODBaseClipboard;
  28.  
  29. //=====================================================================================
  30. // Classes used by this interface
  31. //=====================================================================================
  32.  
  33. interface  ODStorageUnit;
  34. interface  ODDraft;
  35. interface  ODDocument;
  36. interface  ODContainer;
  37. interface  ODSession;
  38. interface  ODPlatformTypeList;
  39.  
  40. //=====================================================================================
  41. // ODClipboard
  42. //=====================================================================================
  43.  
  44. interface ODBaseClipboard :  ODObject
  45. {
  46.   ODUpdateID GetUpdateID();
  47.  
  48.   void Clear();
  49.  
  50.   ODStorageUnit GetContentStorageUnit();
  51.  
  52.   void SetPlatformClipboard(in ODPlatformTypeList typeList);
  53.  
  54.   void ExportClipboard();
  55.  
  56.   void DraftClosing(in ODDraft draft);
  57.  
  58.  
  59. #ifdef __SOMIDL__
  60.   implementation
  61.   {
  62.     functionprefix = ODBaseClipboard;
  63.     override:
  64.       somInit,
  65.       somUninit;
  66.  
  67.     releaseorder:
  68.       GetUpdateID,
  69.       Clear,
  70.       GetContentStorageUnit,
  71.       SetPlatformClipboard,
  72.       ExportClipboard,
  73.       DraftClosing,
  74.       reserved1;
  75.  
  76.     majorversion = 1; minorversion = 0;
  77.  
  78.   };
  79. #endif
  80. };
  81.  
  82. #endif // _CLIPBDB_
  83.