InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAMUIServiceProvider.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 __IAMUISERVICEPROVIDER__
25 #define __IAMUISERVICEPROVIDER__
26 
27 #include "IPMUnknown.h"
28 #include "workgroupid.h"
29 #include "IDFile.h"
30 
31 
32 class IAMUIService;
33 
38 {
39 public:
40  enum { kDefaultIID = IID_IAMUISERVICEPROVIDER };
41 
46  enum UIService
47  {
50 
67  enSaveAsDialog = kWorkgroupPrefix + 1,
68 
81  enViewVersions = kWorkgroupPrefix + 2,
82 
97  enSaveAlert = kWorkgroupPrefix + 3,
98 
109  enRevertAlert = kWorkgroupPrefix + 4,
110 
124  enSaveACopyDialog = kWorkgroupPrefix + 5,
125 
136  enSaveMultiLinkAlert = kWorkgroupPrefix + 6,
137 
148  enGetVersionComments = kWorkgroupPrefix + 7,
149 
163  enGetBatchVersionComments = kWorkgroupPrefix + 8,
164 
175  enConflictAlert = kWorkgroupPrefix + 9,
176 
191  enLiveEditConflictAlert = kWorkgroupPrefix + 10
192  };
193 
198  virtual void Enable( bool16 b ) = 0;
199 
203  virtual bool16 IsEnabled( void ) = 0;
204 
214  virtual IAMUIService* GetService( int32 uiServiceID ) = 0;
215 
221  virtual bool16 IsServiceAvailable( UIDRef assetRef, int32 uiServiceID ) = 0;
222 
225  virtual void ShowAllWarningDialogs() = 0;
226 
227 }; // end IAMUIServiceProvider interface
228 
229 #endif // __IAMUISERVICEPROVIDER__