home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / ODTEMPS.IDL < prev    next >
Text File  |  1995-12-13  |  3KB  |  79 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 _ODTEMPS_
  17. #define _ODTEMPS_
  18.  
  19. #ifndef _PART_
  20.    #include "Part.idl"
  21. #endif
  22.  
  23. //=====================================================================================
  24. // Classes defined in this interface
  25. //=====================================================================================
  26.  
  27. interface  ODTemplates;
  28.  
  29. //=====================================================================================
  30. // Classes used by this interface
  31. //=====================================================================================
  32.  
  33. interface  ODPart;
  34. interface  ODObject;
  35. interface  ODSession;
  36. interface  ODStorageUnit;
  37.  
  38.  
  39. //=====================================================================================
  40. // Class ODTemplates
  41. //=====================================================================================
  42.  
  43. #ifdef _PLATFORM_OS2_
  44.  
  45. interface ODTemplates  :  ODObject
  46. {
  47.       ODBoolean CreateTemplate(in ODPart part, in ODSession session,
  48.                                in string ObjectID, in string ObjectTitle, in ODStorageUnit unit);
  49.                                         //123249 [pfe] , 119899 [pfe]
  50.       ODBoolean DeleteTemplate(in string ObjectID);
  51.  
  52.       ODStorageUnit GetStorageUnit(in ODSession session);
  53. #ifdef __SOMIDL__
  54.   implementation
  55.   {
  56.      functionprefix = ODTemplates;
  57.  
  58.      override:
  59.          somInit,
  60.          somUninit;
  61.  
  62.      releaseorder:
  63.          CreateTemplate,
  64.          DeleteTemplate,
  65.          reserved01,
  66.          GetStorageUnit;
  67.  
  68.      majorversion = 1; minorversion = 0;
  69.  
  70.  
  71.   };
  72. #endif // __SOMIDL__
  73.  
  74. };
  75.  
  76. #endif //  _PLATFORM_OS2_
  77.  
  78. #endif // _ODTEMPS_
  79.