home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / NMSPCMGB.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  76 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 _NMSPCMGB_
  17. #define _NMSPCMGB_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Classes defined in this interface
  25. //==============================================================================
  26.  
  27. interface  ODBaseNameSpaceManager;
  28.  
  29. //==============================================================================
  30. // Classes used by this interface
  31. //==============================================================================
  32.  
  33. interface  ODNameSpace;
  34. interface  ODSession;
  35.  
  36. //==============================================================================
  37. // ODBaseNameSpaceManager
  38. //==============================================================================
  39.  
  40. interface ODBaseNameSpaceManager :  ODObject
  41. {
  42.  
  43.    ODNameSpace CreateNameSpace(in ODISOStr spaceName,
  44.                                     in ODNameSpace inheritsFrom,
  45.                                  in ODULong numExpectedEntries,
  46.                                  in ODNSTypeSpec    type);
  47.  
  48.    void DeleteNameSpace(in ODNameSpace theNameSpace);
  49.  
  50.    ODNameSpace HasNameSpace(in ODISOStr spaceName);
  51.  
  52.  
  53. #ifdef __SOMIDL__
  54.     implementation
  55.     {
  56.         functionprefix = ODBaseNameSpaceManager;
  57.         override:
  58.             somInit,
  59.             somUninit,
  60.             Purge;
  61.  
  62.         releaseorder:
  63.             CreateNameSpace,
  64.             DeleteNameSpace,
  65.             HasNameSpace,
  66.             reserved1;
  67.  
  68.         majorversion = 1; minorversion = 0;
  69.  
  70.     };
  71. #endif
  72. };
  73.  
  74. #endif // _NMSPCMGB_
  75.  
  76.