Oyranos Color Management System API
Functions
Default Profiles

Configure default profiles. More...

Collaboration diagram for Default Profiles:

Functions

int oySetDefaultProfile (oyPROFILE_e type, const char *file_name)
 
char * oyGetDefaultProfileName (oyPROFILE_e type, oyAlloc_f allocate_func)
 

Detailed Description

Configure default profiles.

See also
path_names

Function Documentation

char* oyGetDefaultProfileName ( oyPROFILE_e  type,
oyAlloc_f  allocate_func 
)

Gets a default profile filename.

Parameters
typethe kind of default profile
allocate_functhe allocation function needed to reserve memory for the filename string
Returns
filename

Referenced by oyProfile_s::oyProfile_FromStd(), and oyProfiles_s::oyProfiles_ForStd().

int oySetDefaultProfile ( oyPROFILE_e  type,
const char *  file_name 
)

Sets a profile, which is available in the current configured path.

Parameters
typethe kind of default profile
file_namethe profile which shall become the default for the above specified profile type
Returns
success