home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / VALUEITR.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  71 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 _VALUEITR_
  17. #define _VALUEITR_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Classes defined in this interface
  25. //==============================================================================
  26.  
  27. interface  ODValueIterator;
  28.  
  29. //==============================================================================
  30. // Classes used by this interface
  31. //==============================================================================
  32.  
  33. interface  ODValueNameSpace;
  34.  
  35.  
  36. //==============================================================================
  37. // ODValueIterator
  38. //==============================================================================
  39.  
  40. interface ODValueIterator :  ODObject
  41. {
  42.   void  First(out ODISOStr key,
  43.               out ODByteArray value);
  44.   void  Next(out ODISOStr key,
  45.              out ODByteArray value);
  46.   ODBoolean IsNotComplete();
  47.  
  48.  
  49. #ifdef __SOMIDL__
  50.   implementation
  51.   {
  52.     functionprefix = ODValueIterator;
  53.     override:
  54.       somInit,
  55.       somUninit;
  56.  
  57.     releaseorder:
  58.       First,
  59.       Next,
  60.       IsNotComplete,
  61.  
  62.       reserved1;
  63.  
  64.     majorversion = 1; minorversion = 0;
  65.  
  66.   };
  67. #endif
  68. };
  69.  
  70. #endif // _VALUEITR_
  71.