InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICMSItemProfileSource.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 __ICMSItemProfileSource__
25 #define __ICMSItemProfileSource__
26 
27 #if PRAGMA_ONCE
28 #endif
29 
30 #include "ColorMgmtID.h"
31 #include "IPMUnknown.h"
32 
33 class PMString;
34 
36 {
37 public:
38  enum { kDefaultIID = IID_ICMSITEMPROFILESOURCE };
39 
40  enum ProfileSourceType {
41  kProfileSourceNotSet, // (implies kProfileSourceDefault)
42  kProfileSourceDefault, // CMSPROFILEUID is not used; use def for space.
43  kProfileSourceExternal, // CMSPROFILEUID points to an external profile.
44  kProfileSourceEmbedded // CMSPROFILEUID refers to embedded info.
45  };
46 
47  // Returns whether image is using embedded profile, not, or undecided.
48  virtual ProfileSourceType GetProfileSourceType() const = 0;
49  virtual void SetProfileSourceType(ProfileSourceType newType) = 0;
50 
51  // If there is an embedded profile, these get/set its name.
52  virtual void GetEmbeddedProfileName(PMString &theString) const = 0;
53  virtual void SetEmbeddedProfileName(const PMString& newName) = 0;
54 };
55 
56 #endif // __ICMSItemProfileSource__
57 
58 // End, ICMSItemProfileSource.h.