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