InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWorkgroupUIFacade.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 __IWORKGROUPUIFACADE__
25 #define __IWORKGROUPUIFACADE__
26 
27 #include "workgroupid.h"
28 #include "IPMUnknown.h"
29 #include "IAMUIService.h"
30 #include "IManagedStatus.h"
31 #include "IAMUIEnablementRules.h"
32 #include "Utils.h"
33 
34 class IDFile;
35 class ILink;
36 class IManageableAsset;
37 
43 {
44 public:
45  enum { kDefaultIID = IID_IWORKGROUPUIFACADE };
46 
52  virtual IAMUIService::FollowupAction DoConflictAlert( UIDRef assetRef ) = 0;
53 
61  virtual IAMUIService::FollowupAction DoGetBatchVersionComments( UIDList & inAssetList, PMString & outCheckinComment ) = 0;
62 
72  virtual IAMUIService::FollowupAction DoGetBatchVersionComments( const IDFile & inFolder, int32 numberOfAssets, PMString & outCheckinComment ) = 0;
73 
81  virtual IAMUIService::FollowupAction DoGetVersionComments( UIDRef assetRef, PMString & outCheckinComment ) = 0;
82 
88  virtual IAMUIService::FollowupAction DoRevertAlert( UIDRef assetRef ) = 0;
89 
97  virtual IAMUIService::FollowupAction DoSaveACopyDialog( const IDFile & inCopyFile,
98  bool16 inUseSystemDefaultDir,
99  IDFile & outSaveFile,
100  bool16 & outSaveAsStationery ) = 0;
101 
109  virtual IAMUIService::FollowupAction DoSaveAlert( UIDRef assetRef, const PMString & docName, bool16 allowCancel ) = 0;
110 
120  const IDFile & inDefaultFile,
121  bool16 inUseSystemDefaultDir,
122  IDFile & outSaveFile,
123  bool16 & outSaveAsStationery ) = 0;
124 
130  virtual IAMUIService::FollowupAction DoSaveMultipleLinkAlert( UIDList & inAssetList ) = 0;
131 
138  virtual PMRsrcID GetStatusIconID( UIDRef assetRef, int32 statusType ) = 0;
139 
147  virtual bool16 GetStatusString( UIDRef assetRef, int32 statusType, PMString & outString ) = 0;
148 
156  virtual bool16 IsCommandEnabled( UIDRef assetRef, int32 commandID ) = 0;
157 
164  virtual bool16 IsCommandEnabled( const ILink * iLink, int32 commandID ) = 0;
165 
173  virtual IAMUIService::FollowupAction ViewVersions( UIDRef assetRef, IDFile & outTempVersion ) = 0;
174 
185  const IDFile & inDefaultFile,
186  bool16 inUseSystemDefaultDir,
187  IDFile & outSaveFile,
188  bool16 & outSaveAsStationery,
189  bool16 inShouldSuppressIDMLSave = kFalse) = 0;
190 }; // end IWorkgroupUIFacade interface
191 
192 
193 #endif // __IWORKGROUPUIFACADE__