home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / OBJECTNS.IDL < prev    next >
Text File  |  1995-12-13  |  3KB  |  82 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 _OJBECTNS_
  17. #define _OJBECTNS_
  18.  
  19. #ifndef _NAMSPAC_
  20. #include "NamSpac.idl"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Scalar Types
  25. //==============================================================================
  26.  
  27. //==============================================================================
  28. // Classes defined in this interface
  29. //==============================================================================
  30.  
  31. interface  ODObjectNameSpace;
  32.  
  33. //==============================================================================
  34. // Classes used by this interface
  35. //==============================================================================
  36.  
  37. interface  ODNameSpaceManager;
  38. interface  ODSession;
  39. interface  ODStorageUnitView;
  40. interface  ODObjectIterator;
  41.  
  42. //==============================================================================
  43. // ODObjectNameSpace
  44. //==============================================================================
  45.  
  46. interface ODObjectNameSpace :  ODNameSpace
  47. {
  48.    void Register    (in ODISOStr key,
  49.                          in ODObject object);
  50.  
  51.    ODBoolean GetEntry(in ODISOStr key,
  52.                          out  ODObject object);
  53.  
  54.    ODObjectIterator CreateIterator();
  55.  
  56.  
  57. #ifdef __SOMIDL__
  58.     implementation
  59.       {
  60.     functionprefix = ODObjectNameSpace;
  61.     override:
  62.         somInit,
  63.         somUninit,
  64.  
  65.         Purge;
  66.  
  67.     releaseorder:
  68.         Register,
  69.         GetEntry,
  70.         CreateIterator,
  71.  
  72.     reserved1;
  73.  
  74.         majorversion = 1; minorversion = 0;
  75.  
  76.   };
  77. #endif
  78. };
  79.  
  80. #endif // _OJBECTNS_
  81.  
  82.