home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / VALUENS.IDL < prev    next >
Text File  |  1995-12-13  |  3KB  |  83 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 _VALUENS_
  17. #define _VALUENS_
  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  ODValueNameSpace;
  32.  
  33. //==============================================================================
  34. // Classes used by this interface
  35. //==============================================================================
  36.  
  37. interface  ODNameSpaceManager;
  38. interface  ODSession;
  39. interface  ODStorageUnitView;
  40. interface  ODValueIterator;
  41. interface  PlatformFile;
  42.  
  43. //==============================================================================
  44. // ODValueNameSpace
  45. //==============================================================================
  46.  
  47. interface ODValueNameSpace :  ODNameSpace
  48. {
  49.    void Register(in ODISOStr key,
  50.             in ODByteArray value);
  51.  
  52.    ODBoolean GetEntry(in ODISOStr key,
  53.           out  ODByteArray value);
  54.  
  55.    ODValueIterator CreateIterator();
  56.  
  57.  
  58. #ifdef __SOMIDL__
  59.   implementation
  60.     {
  61.   functionprefix = ODValueNameSpace;
  62.   override:
  63.       somInit,
  64.       somUninit,
  65.  
  66.         Purge,
  67.     Unregister;
  68.     releaseorder:
  69.     Register,
  70.     GetEntry,
  71.     CreateIterator,
  72.     reserved1,
  73.     reserved2,
  74.     reserved3;
  75.  
  76.     majorversion = 1; minorversion = 0;
  77.  
  78.   };
  79. #endif
  80. };
  81.  
  82. #endif // _VALUENS_
  83.