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

  1. /*
  2.     File:        SUCursor.h
  3.  
  4.     Contains:    Definition of XMPStorageUnitCursor.
  5.  
  6.     Written by:    Vincent Lo, Tantek Celik
  7.  
  8.     Copyright:    ⌐ 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <9>      2/9/94    Té        made destructor explicitly virtual to
  13.                                     pacify ASLM
  14.          <8>      2/4/94    VL        Moved to PPC Header and began code cleanup.
  15.          <7>     1/12/94    VL        Init changes.
  16.          <6>     8/13/93    CG        Added ASLM compatibility.
  17.          <5>     7/23/93    VL        Moved parameters from constructor to
  18.                                     Initialize().
  19.          <4>     4/29/93    VL        8.3 Name Change.
  20.          <3>      4/8/93    VL        Moved parameters from Initialize to
  21.                                     constructor.
  22.          <2>      4/7/93    VL        Added Initialize.
  23.          <1>      4/6/93    VL        first checked in
  24.  
  25.     To Do:
  26. */
  27.  
  28. #ifndef _SUCURSOR_
  29. #define _SUCURSOR_
  30.  
  31. #ifndef _XMPTYPES_
  32. #include "XMPTypes.h"
  33. #endif
  34.  
  35. #ifndef _STORAGEU_
  36. #include "StorageU.h"
  37. #endif
  38.  
  39. //==============================================================================
  40. // Classes defined in this interface
  41. //==============================================================================
  42. class XMPStorageUnitCursor;
  43.  
  44. //==============================================================================
  45. // XMPStorageUnitCursor
  46. //==============================================================================
  47.  
  48. #define kXMPStorageUnitCursorID "appl:xmpstorageunitcursor$class,1.0.0"
  49.  
  50. class XMPStorageUnitCursor
  51. {
  52. public:
  53.  
  54.     XMPStorageUnitCursor();
  55.     
  56.     virtual    ~XMPStorageUnitCursor();
  57.     
  58.     XMPMethod    void InitStorageUnitCursor(XMPPropertyName propertyName,
  59.                                 XMPValueType valueType,
  60.                                 XMPValueIndex valueIndex);
  61.     
  62.     XMPMethod    void GetCursor(XMPPropertyName* propertyName,
  63.                                 XMPValueType* valueType,
  64.                                 XMPValueIndex* valueIndex);
  65.                                     
  66. private:
  67.  
  68.     XMPPropertyName        fCurProperty;
  69.     XMPValueType        fCurValueType;
  70.     XMPValueIndex        fCurValue;
  71. };
  72.  
  73. #endif    // _SUCURSOR_
  74.