home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv2.zip / TSEQITR.IDL
Text File  |  1996-02-05  |  1KB  |  65 lines

  1.  
  2. //
  3. //   COMPONENT_NAME: somuc
  4. //
  5. //   ORIGINS: 82, 81, 27
  6. //
  7. //
  8. //   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  9. //   All Rights Reserved
  10. //   Licensed Materials - Property of IBM
  11. //   US Government Users Restricted Rights - Use, duplication or
  12. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  13. //
  14. //   Copyright ⌐ 1988-92 Apple Computer, Inc.  All rights reserved.
  15.  
  16. /*
  17.  * CLASS_NAME: somf_TSequenceIterator
  18.  *
  19.  * DESCRIPTION: An iterator for TSequences that will iterate over all of
  20.  *              the objects in a sequence.
  21.  *
  22.  */
  23.  
  24. #ifndef TSeqItr_idl
  25. #define TSeqItr_idl
  26.  
  27. #include <titeratr.idl>
  28.  
  29. interface somf_MCollectible;
  30.  
  31. interface somf_TSequenceIterator : somf_TIterator
  32. {
  33.  
  34.   somf_MCollectible somfLast();
  35.   // Determine the last object in the TSequence.
  36.  
  37.   somf_MCollectible somfPrevious();
  38.   // Determine the previous object in the TSequence.
  39.  
  40. #ifdef __SOMIDL__
  41.   implementation {
  42.  
  43.     releaseorder: somfLast,somfPrevious;
  44.  
  45.     majorversion = 2;
  46.     minorversion = 1;
  47.     filestem = tseqitr;
  48.     dllname = "somuc.dll";
  49.  
  50.     passthru C_xh =     ""
  51. "#include <mcollect.xh>";
  52.  
  53.     passthru C_h =      ""
  54. "#include <mcollect.h>";
  55.  
  56.     somfFirst: override;
  57.     somfNext: override;
  58.     somfRemove: override;
  59.  
  60.   };
  61. #endif /* __SOMIDL__ */
  62. };
  63.  
  64. #endif  /* TSeqItr_idl */
  65.