InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IClassIDListData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michel Hutinel
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef _IClassIDListData_h_
25 #define _IClassIDListData_h_
26 //________________________________________________________________________________________
27 // INCLUDES
28 //________________________________________________________________________________________
29  #include "IPMUnknown.h"
30  #include "CommandID.h"
31 //========================================================================================
32 //________________________________________________________________________________________
33 // CLASS DECLARATION
34 //________________________________________________________________________________________
39  {
40  //____________________________________________________________________________________
41  // Data Types
42  //____________________________________________________________________________________
43  public:
44 
45  enum { kDefaultIID = IID_ICLASSIDLISTDATA };
46 
50  {
51  kBeginning = 0,
52  kEnd = -2,
54  };
55 
56  //____________________________________________________________________________________
57  // Member functions
58  //____________________________________________________________________________________
59  public:
64  virtual void AddClassID (const ClassID& newClassID, int32 at = kEnd) = 0;
68  virtual void RemoveClassID (int32 index) = 0;
71  virtual void Clear (void) = 0;
76  virtual ClassID GetClassID (int32 index) const = 0;
81  virtual void SetClassID (int32 index, const ClassID& replaceClassID) = 0;
82 
87  virtual int32 GetIndex (const ClassID& classID) const = 0;
90  virtual int32 Length (void) const = 0;
91  };
92 
93 #endif // _IClassIDListData_h_