![]() |
Oyranos
0.9.7
Oyranos is a full featured Color Management System
|
Macros | |
#define | MONITOR_REGISTRATION_BASE OY_TOP_SHARED OY_SLASH OY_DOMAIN_STD OY_SLASH OY_TYPE_STD OY_SLASH "device" OY_SLASH "config.icc_profile.monitor." |
#define | _api8 catCMMfunc( CUPS, _api8 ) |
oyCMMapi8_s implementations More... | |
Functions | |
int | Configs_Modify (oyConfigs_s *devices, oyOptions_s *options) |
oyCMMapi8_s monitor manipulation More... | |
int | CMMMessageFuncSet (oyMessage_f message_func) |
API requirement. More... | |
void | ConfigsUsage (oyStruct_s *options) |
int | Configs_FromPattern (const char *registration, oyOptions_s *options, oyConfigs_s **s) |
oyCMMapi8_s monitors More... | |
int | Config_Rank (oyConfig_s *config) |
oyCMMapi8_s monitor check More... | |
const char * | GetText (const char *select, oyNAME_e type, oyStruct_s *context OY_UNUSED) |
Variables | |
oyCMMapi8_s_ | _api8 |
Monitor Device Node. More... | |
oyCMMui_s_ | _api8_ui |
Monitor Device Node UI. More... | |
oyCMM_s | _cmm_module |
Module Infos. More... | |
oyCMMapi8_s_ _api8 catCMMfunc( CUPS, _api8 ) |
oyCMMapi8_s implementations
CMM_NICK oyCMMapi8_s implementations.
Monitor Device Node.
_api8
_api8 oyCMMapi8_s implementations
_api8
Referenced by Configs_FromPattern(), Configs_Modify(), and ConfigsFromPatternUsage().
#define MONITOR_REGISTRATION_BASE OY_TOP_SHARED OY_SLASH OY_DOMAIN_STD OY_SLASH OY_TYPE_STD OY_SLASH "device" OY_SLASH "config.icc_profile.monitor." |
Common monitor registration base string
Dependent on your platform are different CMM_NICKs implemented. A few are "qarz" and "oyX1". They can be labeld as "native" in case the module fits to the primary platform displaying system.
int CMMMessageFuncSet | ( | oyMessage_f | message_func | ) |
API requirement.
CMMMessageFuncSet
int Config_Rank | ( | oyConfig_s * | config | ) |
oyCMMapi8_s monitor check
Function Config_Rank
[in] | config | the monitor device configuration |
References GetText(), oyNAME_NAME, and oyNAME_NICK.
int Configs_FromPattern | ( | const char * | registration, |
oyOptions_s * | options, | ||
oyConfigs_s ** | s | ||
) |
oyCMMapi8_s monitors
Function Configs_FromPattern
3.1 "list" call
3.1.1 iterate over all requested devices
3.1.2 tell the "device_name"
3.3 "setup" call; bring a profile to the device
3.4 "unset" call; clear a profile from a device
3.5 "help" call; display a help text
3.6 internal "add_meta" call; Embedd infos to ICC profile as meta tag. Might be moved to a oyCMMapi10_s object.
References _api8, Configs_Modify(), ConfigsUsage(), OY_CREATE_NEW, oy_debug, OY_SLASH, oyBlob_s::oyBlob_GetPointer(), oyBlob_s::oyBlob_GetSize(), oyConfig_s::oyConfig_FromRegistration(), oyConfig_s::oyConfig_GetOptions(), oyConfig_s::oyConfig_GetRankMap(), oyConfig_s::oyConfig_SetRankMap(), oyConfigs_s::oyConfigs_Count(), oyConfigs_s::oyConfigs_MoveIn(), oyConfigs_s::oyConfigs_New(), oyFilterRegistrationMatch(), oyNAME_NICK, oyOBJECT_BLOB_S, oyOBJECT_CMM_API8_S, oyOBJECT_PROFILE_S, oyOptions_s::oyOptions_Count(), oyOptions_s::oyOptions_FindString(), oyOptions_s::oyOptions_GetText(), oyOptions_s::oyOptions_GetType(), oyOptions_s::oyOptions_Release(), oyOptions_s::oyOptions_SetFromString(), oyProfile_s::oyProfile_AddDevice(), oyProfile_s::oyProfile_FromName(), oyProfile_s::oyProfile_GetFileName(), oyProfile_s::oyProfile_GetMem(), oyProfile_s::oyProfile_GetSize(), and oyProfile_s::oyProfile_Release().
int Configs_Modify | ( | oyConfigs_s * | devices, |
oyOptions_s * | options | ||
) |
oyCMMapi8_s monitor manipulation
Function Configs_Modify
3.1 "list" call
3.1.1 iterate over all provided devices
3.1.2 get the "device_name"
3.1.3 tell the "device_rectangle" in a oyRectangle_s
3.1.4 tell the "icc_profile" in a oyProfile_s
Warn and return issue on not found profile.
3.1.5 construct a oyNAME_NAME string
3.1.6 add the rank scheme to combine properties
3.3 "setup" call; bring a profile to the device
3.1.1 iterate over all provided devices
3.1.2 get the "device_name"
3.4 "unset" call; clear a profile from a device
3.1.1 iterate over all provided devices
3.1.2 get the "device_name"
3.5 "help" call; display a help text
References _api8, ConfigsUsage(), OY_CREATE_NEW, oy_debug, OY_SLASH, OY_SLASH_C, OY_TYPE_STD, oyConfig_s::oyConfig_Find(), oyConfig_s::oyConfig_FindString(), oyConfig_s::oyConfig_GetOptions(), oyConfig_s::oyConfig_GetRankMap(), oyConfig_s::oyConfig_GetRegistration(), oyConfig_s::oyConfig_Release(), oyConfig_s::oyConfig_SetRankMap(), oyConfigs_s::oyConfigs_Count(), oyConfigs_s::oyConfigs_Get(), oyFilterRegistrationMatch(), oyNAME_DESCRIPTION, oyNAME_NICK, oyNAME_PATTERN, oyOBJECT_CMM_API8_S, oyOBJECT_PROFILE_S, oyOBJECT_RECTANGLE_S, oyOption_s::oyOption_Copy(), oyOption_s::oyOption_FromRegistration(), oyOption_s::oyOption_GetStruct(), oyOption_s::oyOption_MoveInStruct(), oyOption_s::oyOption_Release(), oyOptions_s::oyOptions_Count(), oyOptions_s::oyOptions_Find(), oyOptions_s::oyOptions_FindInt(), oyOptions_s::oyOptions_FindString(), oyOptions_s::oyOptions_GetText(), oyOptions_s::oyOptions_GetType(), oyOptions_s::oyOptions_Handle(), oyOptions_s::oyOptions_MoveIn(), oyOptions_s::oyOptions_New(), oyOptions_s::oyOptions_Release(), oyOptions_s::oyOptions_Set(), oyOptions_s::oyOptions_SetFromInt(), oyOptions_s::oyOptions_SetFromString(), oyProfile_s::oyProfile_AddDevice(), oyProfile_s::oyProfile_AddTagText(), oyProfile_s::oyProfile_FromMem(), oyProfile_s::oyProfile_FromName(), oyProfile_s::oyProfile_GetFileName(), oyProfile_s::oyProfile_GetMem(), oyProfile_s::oyProfile_GetSignature(), oyProfile_s::oyProfile_GetSize(), oyProfile_s::oyProfile_GetText(), oyProfile_s::oyProfile_Release(), oyRectangle_s::oyRectangle_NewWith(), oyRectangle_s::oyRectangle_Show(), and oySIGNATURE_MAGIC.
Referenced by Configs_FromPattern().
void ConfigsUsage | ( | oyStruct_s * | options | ) |
oyMSG_WARN shall make shure our message will be visible.
References OY_CREATE_NEW, OY_SLASH, oyBlob_s::oyBlob_GetPointer(), oyBlob_s::oyBlob_GetSize(), oyBlob_s::oyBlob_New(), oyBlob_s::oyBlob_Release(), oyBlob_s::oyBlob_SetFromData(), oyConfig_s::oyConfig_Find(), oyConfig_s::oyConfig_GetOptions(), oyOption_s::oyOption_FromRegistration(), oyOption_s::oyOption_Release(), oyOption_s::oyOption_SetFromData(), oyOptions_s::oyOptions_FindString(), oyOptions_s::oyOptions_MoveIn(), and oyOptions_s::oyOptions_SetFromString().
Referenced by Configs_FromPattern(), and Configs_Modify().
const char* GetText | ( | const char * | select, |
oyNAME_e | type, | ||
oyStruct_s *context | OY_UNUSED | ||
) |
This function implements oyCMMinfoGetText_f.
References oyNAME_NAME, and oyNAME_NICK.
Referenced by Config_Rank().
oyCMMapi8_s_ _api8 |
Monitor Device Node.
_api8 oyCMMapi8_s implementations
Referenced by Configs_FromPattern(), and Configs_Modify().
oyCMMui_s_ _api8_ui |
Monitor Device Node UI.
_api8_ui oyCMMapi8_s::ui implementation
The UI for Monitor devices.
oyCMM_s _cmm_module |
Module Infos.
_cmm_module