home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / ODTemps.idl < prev    next >
Text File  |  1997-04-02  |  3KB  |  99 lines

  1. //#====START_GENERATED_PROLOG======================================
  2. //#
  3. //#
  4. //#   COMPONENT_NAME: odui
  5. //#
  6. //#   CLASSES: none
  7. //#
  8. //#   ORIGINS: 82,27
  9. //#
  10. //#
  11. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  12. //#   All Rights Reserved
  13. //#   Licensed Materials - Property of IBM
  14. //#   US Government Users Restricted Rights - Use, duplication or
  15. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  16. //#       
  17. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  20. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  21. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  22. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  23. //#   OR PERFORMANCE OF THIS SOFTWARE.
  24. //#
  25. //#====END_GENERATED_PROLOG========================================
  26. //#
  27. /* @(#) 1.4 com/src/ui/idl/ODTemps.idl, odui, od96os2, odos29712d 10/31/96 12:46:01 [3/21/97 17:21:42] */
  28. /********************************************************************/
  29. /*                                                                  */
  30. /* Copyright (C) Apple Computer, Inc., 1994                         */
  31. /*                                                                  */
  32. /*                                                                  */
  33. /********************************************************************/
  34. //#  Copyright:  (c) 1993-1994 by IBM Corp., all rights reserved.
  35.  
  36. #ifndef _ODTEMPS_
  37. #define _ODTEMPS_
  38.  
  39. #ifndef _PART_
  40.    #include "Part.idl"
  41. #endif
  42.  
  43. //=====================================================================================
  44. // Classes defined in this interface
  45. //=====================================================================================
  46.  
  47. interface  ODTemplates;
  48.  
  49. //=====================================================================================
  50. // Classes used by this interface
  51. //=====================================================================================
  52.  
  53. interface  ODPart;
  54. interface  ODObject;
  55. interface  ODSession;
  56. interface  ODStorageUnit;
  57.  
  58.  
  59. //=====================================================================================
  60. // Class ODTemplates
  61. //=====================================================================================
  62.  
  63. #ifdef _PLATFORM_OS2_
  64.  
  65. interface ODTemplates  :  ODObject
  66. {
  67.       ODBoolean CreateTemplate(in ODPart part, in ODSession session,
  68.                                in string ObjectID, in string ObjectTitle, in ODStorageUnit unit);
  69.                                         //123249 [pfe] , 119899 [pfe]
  70.       ODBoolean DeleteTemplate(in string ObjectID);
  71.  
  72.       ODStorageUnit GetStorageUnit(in ODSession session);
  73. #ifdef __SOMIDL__
  74.   implementation
  75.   {
  76.      functionprefix = ODTemplates;
  77.  
  78.      override:
  79.          somInit,
  80.          somUninit;
  81.  
  82.      releaseorder:
  83.          CreateTemplate,
  84.          DeleteTemplate,
  85.          reserved01,
  86.          GetStorageUnit;
  87.  
  88.      majorversion = 1; minorversion = 0;
  89.  
  90.  
  91.   };
  92. #endif // __SOMIDL__
  93.  
  94. };
  95.  
  96. #endif //  _PLATFORM_OS2_
  97.  
  98. #endif // _ODTEMPS_
  99.