InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICMSUseProfileCmdData.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 
24 #ifndef __ICMSUseProfileCmdData__
25 #define __ICMSUseProfileCmdData__
26 
27 #if PRAGMA_ONCE
28 #endif
29 
30 #include "IPMUnknown.h"
31 #include "ICMSProfile.h"
32 
34 {
35  public:
36  virtual void SetSourceType(const ICMSProfile::profileSourceType srcType) = 0;
37  virtual ICMSProfile::profileSourceType
38  GetSourceType() const = 0;
39  virtual void SetProfileName(const PMString &name) = 0;
40  virtual void GetProfileName(PMString *pName) = 0;
41  virtual bool32 SetEmbeddedData(const void *pData, uint32 size) = 0;
42  virtual void * GetEmbeddedDataPtr() const = 0;
43  virtual uint32 GetEmbeddedDataSize() const = 0;
44  virtual void SetCategory(ICMSProfile::profileCategory category) = 0;
45  virtual ICMSProfile::profileCategory
46  GetCategory() const = 0;
47 
48  // Set/Get the install default flag. If the install default flag is kTrue, the profile
49  // name, source type and embedded data are ignored and the default profile (specified in
50  // the application's Color Settings) will be used instead.
51  virtual void SetInstallDefaultFlag(bool installDefaultFlag) = 0;
52  virtual bool16 GetInstallDefaultFlag() const = 0;
53 };
54 
55 #endif // __ICMSUseProfileCmdData__
56 
57 // End, ICMSUseProfileCmdData.h.