InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAMService.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 __IAMSERVICE__
25 #define __IAMSERVICE__
26 
27 #include "IPMUnknown.h"
28 #include "workgroupid.h"
29 
30 class IManageableAsset;
31 
91 class IAMService : public IPMUnknown
92 {
93 public:
94  enum { kDefaultIID = IID_IAMSERVICE };
95 
102  enum
103  {
106 
108  enTargetAsset = kWorkgroupPrefix + 1,
109 
111  enCheckInComment = kWorkgroupPrefix + 2,
112 
114  enContentSaver = kWorkgroupPrefix + 3,
115 
117  enUIFlags = kWorkgroupPrefix + 4,
118 
121  enUniqueAssetLocation = kWorkgroupPrefix + 5,
122 
125  enUseStoredData = kWorkgroupPrefix + 6,
126 
128  enCheckOutToUserName = kWorkgroupPrefix + 7,
129 
131  enOverrideAuthority = kWorkgroupPrefix + 8,
132 
134  enForceSave = kWorkgroupPrefix + 9,
135 
137  enCommandUndoability = kWorkgroupPrefix + 10,
138 
140  enSaveVersion = kWorkgroupPrefix + 11,
141 
143  enModelObject = kWorkgroupPrefix + 12
144  };
145 
158  virtual ErrorCode Do( IManageableAsset * pAsset = nil ) = 0;
159 
170  virtual bool16 VerifyContext( IManageableAsset * pAsset = nil ) = 0;
171 
172 }; // end IAMService interface
173 
174 #endif // __IAMSERVICE__