InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IInCopyApp.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jon Pugh
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 __IInCopyApp__
25 #define __IInCopyApp__
26 
27 
28 #include "IPMUnknown.h"
29 #include "ISession.h"
30 #include "InCopyCoreID.h"
31 
32 class ITool;
33 
34 
38 class IInCopyApp : public IPMUnknown
39 {
40 public:
41  enum { kDefaultIID = IID_IINCOPYAPP };
42 
46  static IInCopyApp* Query() { return (IInCopyApp*) GetExecutionContextSession()->QueryInterface(IID_IINCOPYAPP); }
47 
53  virtual bool FilterThisTool( ClassID toolclass ) = 0;
54 
55 #ifdef ID_DEPRECATED
56 
58  virtual bool ShowChanges() = 0;
59 
62  virtual void ShowChanges( bool bDoIt ) = 0;
63 #endif
64 
71  virtual IDFile GetDefaultFile(PMString docName, bool16 *useSystemDefaultDir) = 0;
72 };
73 
74 //========================================================================================
75 #endif // __IInCopyApp__