| 1 |
|
| 2 |
|
| 3 |
#ifndef __OLDCOLORSYNC_H__ |
| 4 |
#define __OLDCOLORSYNC_H__ |
| 5 |
|
| 6 |
extern CMError |
| 7 |
CMGetDeviceDefaultProfileID( |
| 8 |
CMDeviceClass deviceClass, |
| 9 |
CMDeviceID deviceID, |
| 10 |
CMDeviceProfileID * defaultProfID); |
| 11 |
|
| 12 |
extern CMError |
| 13 |
CMGetDeviceProfile( |
| 14 |
CMDeviceClass deviceClass, |
| 15 |
CMDeviceID deviceID, |
| 16 |
CMDeviceProfileID profileID, |
| 17 |
CMProfileLocation * profileLoc); |
| 18 |
|
| 19 |
extern CMError |
| 20 |
CMOpenProfile( |
| 21 |
CMProfileRef * prof, |
| 22 |
const CMProfileLocation * theProfile); |
| 23 |
|
| 24 |
extern CMError |
| 25 |
CMGetProfileByAVID( |
| 26 |
CMDisplayIDType theID, |
| 27 |
CMProfileRef * prof); |
| 28 |
|
| 29 |
extern CMError |
| 30 |
NCMGetProfileLocation( |
| 31 |
CMProfileRef prof, |
| 32 |
CMProfileLocation * theProfile, |
| 33 |
UInt32 * locationSize); |
| 34 |
|
| 35 |
extern CMError |
| 36 |
CMCopyProfile( |
| 37 |
CMProfileRef * targetProf, |
| 38 |
const CMProfileLocation * targetLocation, |
| 39 |
CMProfileRef srcProf); |
| 40 |
|
| 41 |
extern CMError |
| 42 |
CMCloseProfile(CMProfileRef prof); |
| 43 |
|
| 44 |
extern CMError |
| 45 |
CMSetProfileDescriptions( |
| 46 |
CMProfileRef prof, |
| 47 |
const char * aName, |
| 48 |
UInt32 aCount, |
| 49 |
ConstStr255Param mName, |
| 50 |
ScriptCode mCode, |
| 51 |
const UniChar * uName, |
| 52 |
UniCharCount uCount); |
| 53 |
|
| 54 |
extern CMError |
| 55 |
CMSetProfileElement( |
| 56 |
CMProfileRef prof, |
| 57 |
OSType tag, |
| 58 |
UInt32 elementSize, |
| 59 |
const void * elementData); |
| 60 |
|
| 61 |
extern CMError |
| 62 |
CMUpdateProfile(CMProfileRef prof); |
| 63 |
|
| 64 |
extern CMError |
| 65 |
CMSetProfileByAVID( |
| 66 |
CMDisplayIDType theID, |
| 67 |
CMProfileRef prof); |
| 68 |
|
| 69 |
extern CMError |
| 70 |
CMGetProfileHeader( |
| 71 |
CMProfileRef prof, |
| 72 |
CMAppleProfileHeader * header); |
| 73 |
|
| 74 |
|
| 75 |
extern size_t CGDisplayBitsPerSample(CGDirectDisplayID display); |
| 76 |
|
| 77 |
#endif |