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

  1. /*
  2.     File:        SURefItr.h
  3.  
  4.     Contains:    definition of XMPStorageUnitRefIterator
  5.  
  6.     Written by: Vincent Lo
  7.  
  8.     Copyright:    ⌐ 1992-3 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>      2/4/94    VL        first checked in
  13.  
  14. */
  15.  
  16. #ifndef _SUREFITR_
  17. #define _SUREFITR_
  18.  
  19. #ifndef _XMPTYPES_
  20. #include "XMPTypes.h"
  21. #endif
  22.  
  23. #ifndef __CM_API__
  24. #include "CMAPI.h"
  25. #endif
  26.  
  27. //==============================================================================
  28. // Classes defined in this interface
  29. //==============================================================================
  30. class    XMPStorageUnitRefIterator;
  31.  
  32. //==============================================================================
  33. // Classes used by this interface
  34. //==============================================================================
  35. class    XMPStorageUnit;
  36.  
  37. //==============================================================================
  38. // XMPStorageUnitRefIterator
  39. //==============================================================================
  40.  
  41. #define kXMPStorageUnitRefIteratorID "appl:xmpstorageunitrefiterator$class,1.0.0"
  42.  
  43. class XMPStorageUnitRefIterator
  44. {
  45. public:
  46.  
  47.     XMPStorageUnitRefIterator(XMPStorageUnit* storageUnit);
  48.     ~XMPStorageUnitRefIterator();
  49.     
  50.     XMPStorageUnitRef    First();
  51.     XMPStorageUnitRef    Next();
  52.     XMPBoolean            IsNotComplete();
  53.     
  54. private:
  55.  
  56.     XMPBoolean            fNotComplete;
  57.     CMReference            fReference;
  58.     CMValue                fValue;
  59. };
  60.  
  61. #endif    // _SUREFITR_
  62.