Mercurial > projects > dstep
comparison dstep/applicationservices/colorsync/CMScriptingPlugin.d @ 12:9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 14:00:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
11:07194b026fa4 | 12:9f0b49a2f64e |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Aug 1, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.applicationservices.colorsync.CMScriptingPlugin; | |
8 | |
9 //import dstep.AvailabilityMacros; | |
10 import dstep.applicationservices.colorsync.CMApplication; | |
11 import dstep.applicationservices.colorsync.CMBase; | |
12 import dstep.applicationservices.colorsync.CMTypes; | |
13 import dstep.coreservices.CoreServices; | |
14 import dstep.internal.Version; | |
15 | |
16 static if (!D_LP64 && !Win32): | |
17 | |
18 enum | |
19 { | |
20 cmspInvalidImageFile = -4220, | |
21 cmspInvalidImageSpace = -4221, | |
22 cmspInvalidProfileEmbed = -4222, | |
23 cmspInvalidProfileSource = -4223, | |
24 cmspInvalidProfileDest = -4224, | |
25 cmspInvalidProfileProof = -4225, | |
26 cmspInvalidProfileLink = -4226 | |
27 } | |
28 | |
29 enum | |
30 { | |
31 cmspFavorEmbeddedMask = 0x00000001 | |
32 } | |
33 | |
34 extern (C): | |
35 | |
36 CMError CMValidImage (/*const*/ FSSpec* spec); | |
37 CMError CMGetImageSpace (/*const*/ FSSpec* spec, OSType* space); | |
38 CMError CMEmbedImage (/*const*/ FSSpec* specFrom, /*const*/ FSSpec* specInto, bool repl, CMProfileRef embProf); | |
39 CMError CMUnembedImage (/*const*/ FSSpec* specFrom, /*const*/ FSSpec* specInto, bool repl); | |
40 CMError CMMatchImage (/*const*/ FSSpec* specFrom, /*const*/ FSSpec* specInto, bool repl, uint qual, CMProfileRef srcProf, uint srcIntent, CMProfileRef dstProf); | |
41 CMError CMProofImage (/*const*/ FSSpec* specFrom, /*const*/ FSSpec* specInto, bool repl, uint qual, CMProfileRef srcProf, uint srcIntent, CMProfileRef dstProf, CMProfileRef prfProf); | |
42 CMError CMLinkImage (/*const*/ FSSpec* specFrom, /*const*/ FSSpec* specInto, bool repl, uint qual, CMProfileRef lnkProf, uint lnkIntent); | |
43 CMError CMCountImageProfiles (/*const*/ FSSpec* spec, uint* count); | |
44 CMError CMGetIndImageProfile (/*const*/ FSSpec* spec, uint index, CMProfileRef* prof); | |
45 CMError CMSetIndImageProfile (/*const*/ FSSpec* specFrom, /*const*/ FSSpec* specInto, bool repl, uint index, CMProfileRef prof); |