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

  1. /*
  2.     File:        FocusOwn.h
  3.  
  4.     Contains:    Interface to XMPFocusOwnerIterator 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.          <4>      2/9/94    NP        Tiger Team cleanup.
  13.          <3>      2/7/94    NP        XMPFocusOwnerIterator
  14.          <2>    12/23/93    RR        Added Init method. Remove arguments from
  15.                                     constructor
  16.          <1>     12/8/93    RR        first checked in
  17.  
  18.     To Do:
  19. */
  20.  
  21. #ifndef _FOCUSOWN_
  22. #define _FOCUSOWN_
  23.  
  24. #ifndef _XMPOBJ_
  25. #include "XMPObj.h"
  26. #endif
  27.  
  28. #ifndef _XMPTYPES_
  29. #include "XMPTypes.h"
  30. #endif
  31.  
  32.  
  33. //=====================================================================================
  34. // Classes defined in this interface
  35. //=====================================================================================
  36.  
  37. class XMPFocusOwnerIterator;
  38.  
  39. //=====================================================================================
  40. // Classes used by this interface
  41. //=====================================================================================
  42.  
  43. class XMPFocusModule;
  44. class XMPFrame;
  45.  
  46. //=====================================================================================
  47. // Class XMPFocusOwnerIterator
  48. //=====================================================================================
  49.  
  50. class XMPFocusOwnerIterator
  51. {
  52. public:
  53.  
  54.     XMPFocusOwnerIterator();
  55.     
  56.     ~XMPFocusOwnerIterator();
  57.     
  58.     XMPNVMethod void InitFocusOwnerIterator(XMPTypeToken focus, XMPFocusModule* module);
  59.     
  60.     XMPVMethod XMPFrame* First() 
  61.         = 0;
  62.         
  63.     XMPVMethod XMPFrame* Next() 
  64.         = 0;
  65.         
  66.     XMPVMethod XMPBoolean IsNotComplete() 
  67.         = 0;
  68.         
  69. protected:
  70.  
  71.     XMPTypeToken fFocus;    
  72.     XMPFocusModule* fFocusModule;
  73. };
  74.  
  75. #endif // _FOCUSOWN_
  76.