InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPersistUIDListData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Paul Sorrick
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 __IPersistUIDListData__
25 #define __IPersistUIDListData__
26 
27 #include "IPMUnknown.h"
28 #include "UIDRef.h"
29 #include "UIDList.h"
30 #include "PersistUIDList.h"
31 #include "IPMStream.h"
32 #include "CommandID.h"
33 
40 {
41 public:
42  enum { kDefaultIID = IID_IPERSISTUIDLISTDATA };
43 
51  virtual void Set(PersistUIDList* array) = 0;
52 
53 #ifdef ID_DEPRECATED //deprecated in CS5; remove in CS6
54 
57  virtual const PersistUIDList* GetRef() const = 0;
58 #endif
59 
62  virtual const PersistUIDList* GetUIDList() const = 0;
63 
67  virtual IDataBase* GetDataBase() const = 0;
68 
71  virtual int32 Length() const = 0 ;
72 
77  virtual const UIDRef GetItemRef(int32 index) const = 0;
78 
82  virtual void Remove(int32 at) = 0;
83 
87  virtual void Append(const UID t) = 0;
88 };
89 
90 #endif // __IPersistUIDListData__