19 #ifndef __CMSCRIPTINGPLUGIN__
20 #define __CMSCRIPTINGPLUGIN__
26 #ifndef __CMAPPLICATION__
43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
47 #elif PRAGMA_STRUCT_PACK
54 cmspInvalidImageFile = -4220,
55 cmspInvalidImageSpace =
57 cmspInvalidProfileEmbed = -4222,
58 cmspInvalidProfileSource = -4223,
59 cmspInvalidProfileDest = -4224,
60 cmspInvalidProfileProof = -4225,
61 cmspInvalidProfileLink = -4226
70 cmspFavorEmbeddedMask =
76 typedef CALLBACK_API_C(CMError, ValidateImageProcPtr)(
const FSSpec *spec);
77 typedef CALLBACK_API_C(CMError, GetImageSpaceProcPtr)(
const FSSpec *spec,
79 typedef CALLBACK_API_C(CMError, ValidateSpaceProcPtr)(
const FSSpec *spec,
81 typedef CALLBACK_API_C(CMError, EmbedImageProcPtr)(
const FSSpec *specFrom,
82 const FSSpec *specInto,
83 CMProfileRef embedProf,
85 typedef CALLBACK_API_C(CMError, UnembedImageProcPtr)(
const FSSpec *specFrom,
86 const FSSpec *specInto);
87 typedef CALLBACK_API_C(CMError, MatchImageProcPtr)(
88 const FSSpec *specFrom,
const FSSpec *specInto, UInt32 qual,
89 UInt32 srcIntent, CMProfileRef srcProf, CMProfileRef dstProf,
90 CMProfileRef prfProf, UInt32 matchFlags);
91 typedef CALLBACK_API_C(CMError, CountImageProfilesProcPtr)(
const FSSpec *spec,
93 typedef CALLBACK_API_C(CMError, GetIndImageProfileProcPtr)(
const FSSpec *spec,
96 typedef CALLBACK_API_C(CMError, SetIndImageProfileProcPtr)(
97 const FSSpec *specFrom,
const FSSpec *specInto, UInt32 index,
98 CMProfileRef prof, UInt32 embedFlags);
133 CMProfileRef embProf);
156 UInt32 qual, CMProfileRef srcProf, UInt32 srcIntent,
157 CMProfileRef dstProf);
169 UInt32 qual, CMProfileRef srcProf, UInt32 srcIntent,
170 CMProfileRef dstProf, CMProfileRef prfProf);
182 UInt32 qual, CMProfileRef lnkProf, UInt32 lnkIntent);
216 Boolean repl, UInt32 index, CMProfileRef prof);
218 #if PRAGMA_STRUCT_ALIGN
219 #pragma options align = reset
220 #elif PRAGMA_STRUCT_PACKPUSH
222 #elif PRAGMA_STRUCT_PACK
226 #ifdef PRAGMA_IMPORT_OFF
Color Matching Interfaces.
CMError CMUnembedImage(const FSSpec *specFrom, const FSSpec *specInto, Boolean repl)
CMError CMLinkImage(const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 qual, CMProfileRef lnkProf, UInt32 lnkIntent)
CMError CMCountImageProfiles(const FSSpec *spec, UInt32 *count)
CMError CMValidImage(const FSSpec *spec)
CMError CMMatchImage(const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 qual, CMProfileRef srcProf, UInt32 srcIntent, CMProfileRef dstProf)
CMError CMProofImage(const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 qual, CMProfileRef srcProf, UInt32 srcIntent, CMProfileRef dstProf, CMProfileRef prfProf)
CMError CMEmbedImage(const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, CMProfileRef embProf)
CMError CMGetIndImageProfile(const FSSpec *spec, UInt32 index, CMProfileRef *prof)
CMError CMGetImageSpace(const FSSpec *spec, OSType *space)
CMError CMSetIndImageProfile(const FSSpec *specFrom, const FSSpec *specInto, Boolean repl, UInt32 index, CMProfileRef prof)
File Manager (MFS, HFS, and HFS+) Interfaces.
unsigned char Boolean
Definition: MacTypes.h:318