InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IBGTasksUtils.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Steve Balensiefer
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
20 // with the terms of the Adobe license agreement accompanying it. If you have received
21 // this file from a source other than Adobe, then your use, modification, or
22 // distribution of it requires the prior written permission of Adobe.
23 //
24 //========================================================================================
25 
26 #ifndef __IBGTasksUtils__
27 #define __IBGTasksUtils__
28 
29 #include "AppFrameworkID.h"
30 #include "IPMUnknown.h"
31 #include "PMString.h"
32 #include "UIDRef.h"
33 
38 class IDocument;
39 
40 #define ALLOW_SAVE_WITH_CLONES
41 
42 class IBGTasksUtils : public IPMUnknown
43 {
44 public:
45  enum { kDefaultIID = IID_IBGTASKSUTILS};
46 
57  virtual bool16 IsDocumentInUseByBGTasks( const UIDRef& documentRef, bool bDoDetailChecking = false) const = 0;
58 
65  virtual bool16 IsDataBaseInUseByBGTasks( IDataBase* db, bool bDoDetailChecking = false) const = 0;
66 
73  virtual bool16 IsTargetFileInUseByBGTasks( const IDFile& targetFile ) const = 0;
74 
84  virtual PMString CreateDocActionWarningAboutBGTasks( const UIDRef& item, const ActionID& action ) const = 0;
85 };
86 
87 #endif // __IBGTasksUtils__