InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAMServiceData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bill Tislar
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 __IAMSERVICEDATA__
25 #define __IAMSERVICEDATA__
26 
27 #include "IPMUnknown.h"
28 #include "workgroupid.h"
29 #include "IAMUIService.h"
30 
31 #include "IDFile.h"
32 #include "PMString.h"
33 #include "UIDRef.h"
34 
35 #include <vector>
36 
37 
55 class IAMServiceData : public IPMUnknown
56 {
57 public:
58  enum { kDefaultIID = IID_IAMSERVICEDATA };
59 
60  typedef std::vector<IDFile> IDFileList;
61  typedef std::vector<UIDRef> UIDRefList;
62 
68  virtual bool16 Get( int32 dataID, IDFile & outFile ) const = 0;
69 
75  virtual bool16 Get( int32 dataID, int32 & outInt32 ) const = 0;
76 
81  virtual void * Get( int32 dataID ) const = 0;
82 
88  virtual bool16 Get( int32 dataID, PMString & outPMString ) const = 0;
89 
95  virtual bool16 Get( int32 dataID, UIDRef & outUIDRef ) const = 0;
96 
102  virtual bool16 Get( int32 dataID, UIFlags & outUiFlags ) const = 0;
103 
109  virtual bool16 Get( int32 dataID, IAMUIService::FollowupAction & outAction ) const = 0;
110 
115  virtual bool16 Get( IAMServiceData::UIDRefList & outUIDRefList ) = 0;
116 
121  virtual bool16 Get( IAMServiceData::IDFileList & outIDFileList ) = 0;
122 
127  virtual bool16 GetFlag( int32 dataID ) const = 0;
128 
129 
134  virtual void Set( int32 dataID, const IDFile & inFile ) = 0;
135 
140  virtual void Set( int32 dataID, int32 inInt32 ) = 0;
141 
146  virtual void Set( int32 dataID, void * inInterface ) = 0;
147 
152  virtual void Set( int32 dataID, const PMString & inPMString ) = 0;
153 
158  virtual void Set( int32 dataID, const UIDRef & inUIDRef ) = 0;
159 
164  virtual void Set( int32 dataID, UIFlags inUIFlags ) = 0;
165 
170  virtual void Set( int32 dataID, IAMUIService::FollowupAction inAction ) = 0;
171 
176  virtual void Set( const IAMServiceData::UIDRefList & inUIDRefList ) = 0;
177 
182  virtual void Set( const IAMServiceData::IDFileList & inIDFileList ) = 0;
183 
188  virtual void SetFlag( int32 dataID, bool16 b = kTrue ) = 0;
189 
190 }; // end IAMServiceData interface
191 
192 #endif // __IAMSERVICEDATA__