home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / bento / headers / pftsitr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-02  |  1.8 KB  |  69 lines

  1. /*
  2.     File:        PfTSItr.h
  3.  
  4.     Contains:    Class definition for XMPPlatformTypeSetIterator.
  5.  
  6.     Written by:    Vincent Lo
  7.  
  8.     Copyright:    ⌐ 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <4>     2/17/94    CC        #1144818 - Added declaration of class
  13.                                     XMPPlatformTypeSet to enable standalone
  14.                                     compilation.
  15.          <3>     2/15/94    CC        Bug #1142949 - Standardize iterator method
  16.                                     names.
  17.          <2>      2/9/94    Té        made destructor explicitly virtual to
  18.                                     pacify ASLM
  19.          <1>      2/4/94    VL        first checked in
  20.  
  21.     To Do:
  22.  
  23. */
  24.  
  25. #ifndef _PFTSITR_
  26. #define _PFTSITR_
  27.  
  28. #ifndef _PLFMTYPE_
  29. #include "PlfmType.h"
  30. #endif
  31.  
  32. //=====================================================================================
  33. // Classes defined in this interface
  34. //=====================================================================================
  35. class XMPPlatformTypeSetIterator;
  36.  
  37. //=====================================================================================
  38. // Classes used by this interface
  39. //=====================================================================================
  40. class XMPPlatformTypeSet;
  41. class OrderedCollectionIterator;
  42.  
  43. //=====================================================================================
  44. // Class XMPPlatformTypeSetIterator
  45. //=====================================================================================
  46.  
  47. #define kXMPPlatformTypeSetIteratorID "appl:xmpplatformtypesetiterator$class,1.0.0"
  48.  
  49. class XMPPlatformTypeSetIterator
  50. {
  51. public:
  52.  
  53.     XMPPlatformTypeSetIterator(XMPPlatformTypeSet* typeSet);
  54.  
  55.     virtual ~XMPPlatformTypeSetIterator();
  56.  
  57.     XMPMethod XMPBoolean        IsNotComplete();
  58.     XMPMethod XMPPlatformType    First();
  59.     XMPMethod XMPPlatformType    Next();
  60.         
  61. private:
  62.  
  63.     XMPPlatformTypeSet*            fPlatformTypeSet;
  64.     OrderedCollectionIterator*    fIterator;
  65. };
  66.  
  67.  
  68. #endif    // _PFTSITR_
  69.