home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / ODCTR.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  81 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 _ODCTR_
  17. #define _ODCTR_
  18.  
  19. #ifndef _REFCTOBJ_
  20. #include "RefCtObj.idl"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Classes used by this interface
  25. //==============================================================================
  26. interface   ODStorageSystem; 
  27.  
  28. //==============================================================================
  29. // Classes defined in this interface
  30. //==============================================================================
  31. interface   ODContainer;
  32. interface  ODDocument;
  33.  
  34. //==============================================================================
  35. // ODContainer
  36. //==============================================================================
  37.  
  38. interface ODContainer :  ODRefCntObject 
  39. {
  40.  
  41.   ODStorageSystem  GetStorageSystem();
  42.  
  43.   ODContainerID GetID();
  44.  
  45.   ODContainerName GetName();
  46.  
  47.   void SetName(in ODContainerName name);
  48.  
  49.   ODDocument  AcquireDocument(in ODDocumentID id);
  50.  
  51. // private by convention
  52.  
  53.  
  54. #ifdef __SOMIDL__
  55.   implementation
  56.   {
  57.     functionprefix = ODContainer;
  58.     override:
  59.     somInit,
  60.     somUninit,
  61.     Acquire,
  62.         Release,
  63.         Purge;
  64.     releaseorder:
  65.         GetStorageSystem,
  66.         GetID,
  67.         GetName,
  68.         SetName,
  69.         AcquireDocument,
  70.       reserved1,
  71.       reserved2,
  72.       reserved3,
  73.       reserved4,
  74.       reserved5;
  75.   };
  76. #endif
  77. };
  78.  
  79. #endif  // _ODCTR_
  80.  
  81.