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

  1. /* @(#)Z 1.6 com/src/core/idl/NamSpac.idl, odcore, od96os2, odos29712d 97/03/21 17:18:12 (96/10/29 09:22:13) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odcore
  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 _NAMSPAC_
  32. #define _NAMSPAC_
  33.  
  34. #ifndef _ODOBJECT_
  35. #include "ODObject.idl"
  36. #endif
  37.  
  38. //==============================================================================
  39. // Classes defined in this interface
  40. //==============================================================================
  41.  
  42. interface  ODNameSpace;
  43.  
  44. //==============================================================================
  45. // Classes used by this interface
  46. //==============================================================================
  47.  
  48.  
  49. interface  ODStorageUnitView;
  50.  
  51.  
  52. //==============================================================================
  53. // ODNameSpace
  54. //==============================================================================
  55.  
  56. interface ODNameSpace :  ODObject
  57. {
  58.    ODISOStr GetName();
  59.  
  60.    ODNSTypeSpec GetType();
  61.    
  62.    ODNameSpace GetParent();
  63.    
  64.    void SetType( in ODNSTypeSpec type );
  65.  
  66.    void Unregister(in ODISOStr key);
  67.  
  68.    ODBoolean Exists(in ODISOStr key);
  69.    
  70.    void WriteToFile(in ODByteArray file);
  71.  
  72.    void ReadFromFile(in ODByteArray file);
  73.  
  74.    void WriteToStorage(in ODStorageUnitView view);
  75.  
  76.    void ReadFromStorage(in ODStorageUnitView view);
  77.  
  78.    
  79. #ifdef __SOMIDL__
  80.     implementation
  81.       {
  82.     majorversion = 1; minorversion = 0;
  83.  
  84.     functionprefix = ODNameSpace;
  85.     
  86.     override:
  87.         somUninit,
  88.         Purge;
  89.  
  90.     releaseorder:
  91.         GetName,
  92.         GetType,
  93.         GetParent,
  94.         SetType,
  95.         Unregister,
  96.         Exists,
  97.         WriteToFile,
  98.         ReadFromFile,
  99.         WriteToStorage,
  100.         ReadFromStorage,
  101.         reserved1,
  102.         reserved2,
  103.         reserved3,
  104.         reserved4,
  105.         reserved5,
  106.         reserved6,
  107.         reserved7;
  108.     
  109.   };
  110. #endif //# __SOMIDL__
  111. };
  112.  
  113. #endif //# _NAMSPAC_
  114.  
  115.