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

  1. /* @(#)Z 1.4 com/src/storage/idl/ODCtr.idl, odstorage, od96os2, odos29712d 97/03/21 17:20:12 (96/10/29 09:32:42) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odstorage
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28.  
  29. //#
  30. //#    Copyright:    (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  31.  
  32. #ifndef _ODCTR_
  33. #define _ODCTR_
  34.  
  35. #ifndef _REFCTOBJ_
  36. #include "RefCtObj.idl"
  37. #endif
  38.  
  39. //==============================================================================
  40. // Classes used by this interface
  41. //==============================================================================
  42. interface   ODStorageSystem; 
  43.  
  44. //==============================================================================
  45. // Classes defined in this interface
  46. //==============================================================================
  47. interface   ODContainer;
  48. interface    ODDocument;
  49.  
  50. //==============================================================================
  51. // ODContainer
  52. //==============================================================================
  53.  
  54. interface ODContainer :  ODRefCntObject 
  55. {
  56.  
  57.     ODStorageSystem  GetStorageSystem();
  58.     
  59.     ODContainerID GetID();
  60.     
  61.     ODContainerName GetName();
  62.         
  63.     void SetName(in ODContainerName name);
  64.     
  65.     ODDocument  AcquireDocument(in ODDocumentID id);
  66.  
  67.  
  68. #ifdef __SOMIDL__
  69.   implementation
  70.   {
  71.     majorversion = 1; minorversion = 0;
  72.       functionprefix = ODContainer;
  73.     override:
  74.         somUninit,
  75.         Acquire,
  76.         Release,
  77.         Purge;
  78.     releaseorder:
  79.         GetStorageSystem,
  80.         GetID,
  81.         GetName,
  82.         SetName,
  83.         AcquireDocument,
  84.             reserved1,
  85.             reserved2,
  86.             reserved3,
  87.             reserved4,
  88.             reserved5;
  89.   };
  90. #endif
  91. };
  92.  
  93.  
  94. #endif  // _ODCTR_
  95.  
  96.