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

  1. /* @(#)Z 1.5 com/src/storage/idl/ODStor.idl, odstorage, od96os2, odos29712d 97/03/21 17:20:12 (96/10/29 09:32:47) */
  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. //#    Copyright:    (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  30.  
  31. #ifndef _ODSTOR_
  32. #define _ODSTOR_
  33.  
  34. #ifndef _ODOBJECT_
  35. #include "ODObject.idl"
  36. #endif
  37.  
  38. //==============================================================================
  39. // Classes defined in this interface
  40. //==============================================================================
  41.  
  42. interface   ODStorageSystem;
  43.  
  44. //==============================================================================
  45. // Classes used in this interface
  46. //==============================================================================
  47.  
  48. interface   ODSession;
  49. interface   ODContainer;
  50. interface   ODTypeList;
  51. interface   ODPlatformTypeList;
  52.  
  53.  
  54.  
  55. //==============================================================================
  56. // ODStorageSystem
  57. //==============================================================================
  58.  
  59. interface ODStorageSystem : ODObject   
  60. {
  61.     ODSession GetSession();
  62.     
  63.     ODContainer AcquireContainer(in ODContainerType containerType,
  64.                                 in ODContainerID id);
  65.     
  66.     ODContainer CreateContainer(in ODContainerType containerType,
  67.                                     in ODContainerID id);
  68.                       
  69.     void NeedSpace(in ODSize memSize,
  70.                     in ODBoolean doPurge);
  71.                     
  72.     ODTypeList    CreateTypeList(in ODTypeList typeList);
  73.     
  74.     ODPlatformTypeList    CreatePlatformTypeList(in ODPlatformTypeList typeList);
  75.  
  76.     
  77. #ifdef __SOMIDL__
  78. //#ifdef _PLATFORM_MACINTOSH_
  79.     implementation
  80.     {
  81.         majorversion = 1; minorversion = 0;
  82.     
  83.           functionprefix = ODStorageSystem;
  84.         
  85.         override:
  86.             somUninit,
  87.             Purge;
  88.         
  89.         releaseorder:
  90.             GetSession,
  91.             AcquireContainer,
  92.             CreateContainer,
  93.             NeedSpace,
  94.             CreateTypeList,
  95.             CreatePlatformTypeList,
  96.             reserved1, 
  97.             reserved2, 
  98.             reserved3, 
  99.             reserved4;        
  100.         
  101.     
  102.   };
  103. //#endif //# _PLATFORM_MACINTOSH_ 
  104. #endif //# __SOMIDL__
  105. };
  106.  
  107. #endif  // _ODSTOR_
  108.