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

  1. /*
  2.     File:        FocusItr.h
  3.  
  4.     Contains:    Interface to XMPFocusSetIterator class.
  5.  
  6.     Written by:    Richard Rodseth
  7.  
  8.     Copyright:    ⌐ 1993-94 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <6>     2/17/94    RR        #1143609 Made destructor public again
  13.          <5>     2/14/94    RR        #1143609. Marked init methods private to UI
  14.          <4>      2/9/94    NP        Tiger Team cleanup.
  15.          <3>      2/7/94    NP        Tiger Team doings.
  16.          <2>    12/23/93    RR        Added Init method. Remove arguments from
  17.                                     constructor
  18.          <1>     12/8/93    RR        first checked in
  19.  
  20.     To Do:
  21. */
  22.  
  23. #ifndef _FOCUSITR_
  24. #define _FOCUSITR_
  25.  
  26. #ifndef _XMPOBJ_
  27. #include "XMPObj.h"
  28. #endif
  29.  
  30. #ifndef _XMPTYPES_
  31. #include "XMPTypes.h"
  32. #endif
  33.  
  34. //=====================================================================================
  35. // Classes defined in this interface
  36. //=====================================================================================
  37.  
  38. class XMPFocusSetIterator;        // Iterator over the elements in a focus set
  39.  
  40. //=====================================================================================
  41. // Classes used by this interface
  42. //=====================================================================================
  43.  
  44. class XMPFocusSet;                
  45. class LinkedListIterator;
  46.  
  47. //=====================================================================================
  48. // Class XMPFocusSetIterator
  49. //=====================================================================================
  50.  
  51. #define kXMPFocusSetIteratorID "appl:xmpfocussetiterator$class,1.0.0"
  52.  
  53. class XMPFocusSetIterator
  54. {
  55. public:
  56.     
  57.     virtual ~XMPFocusSetIterator();
  58.  
  59.     XMPMethod XMPTypeToken First();
  60.     
  61.     XMPMethod XMPTypeToken Next();
  62.     
  63.     XMPMethod XMPBoolean IsNotComplete();
  64.  
  65. public: // Private to UI subsystem
  66.  
  67.     XMPFocusSetIterator();
  68.     
  69.     XMPNVMethod void InitFocusSetIterator(XMPFocusSet* focusSet);
  70.     
  71. private:
  72.     
  73.     LinkedListIterator* fIterator;
  74. };
  75.  
  76. #endif // _FOCUSITR_
  77.