InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IColorXFormChange.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
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 // Implements the IColorXFormChange interface, which is really just a pinger for use in
24 // the active context. That is, it sits in the ActiveContext under IID_ICOLORXFORMCHANGE
25 // and is used by others who might be interested in profile changes.
26 //
27 //========================================================================================
28 
29 #ifndef __IColorXFormChange__
30 #define __IColorXFormChange__
31 
32 #if PRAGMA_ONCE
33 #endif
34 
35 #include "IPMUnknown.h"
36 #include "ColorMgmtID.h"
37 
38 class ICommand;
39 
42 #define CXFORMFLAG_AFFECTS_SCREEN (1L<<0)
43 #define CXFORMFLAG_AFFECTS_PRINTER (1L<<1)
44 #define CXFORMFLAG_AFFECTS_CACHEVALIDITY (1L<<2)
46 #define CXFORMFLAG_SCOPE_ITEMS (1L<<16)
47 #define CXFORMFLAG_SCOPE_DOCUMENTS (1L<<17)
48 #define CXFORMFLAG_SCOPE_GLOBAL (1L<<18)
53 class IColorXFormChange : public IPMUnknown
54 {
55 public:
56  enum { kDefaultIID = IID_ICOLORXFORMCHANGE };
57 public:
64  virtual void Change(IDataBase* iDataBase, ICommand *cmdChangedBy, int32 changeFlags) = 0;
65 
69  virtual int32 GetChangeFlags() const = 0;
70 };
71 
72 #endif // __IColorXFormChange__
73 
74 
75 // End, IColorXFormChange.h.