CMM Handling API


Functions

int oyModulRegisterXML (oyGROUP group, const char *xml)
 read in the declarations of available options and functions
char ** oyModulsGetNames (int *count, oyAllocFunc_t allocate_func)
 get the user allocated CMM 4 char ID's

Detailed Description

Functions to handle ColorMatchingModules.

Function Documentation

int oyModulRegisterXML ( oyGROUP  group,
const char *  xml 
)

read in the declarations of available options and functions

Parameters:
group the policy group
xml xml configuration string
domain i18n gettext domain
domain_path i18n gettext domain path
Returns:
errors

char** oyModulsGetNames ( int *  count,
oyAllocFunc_t  allocate_func 
)

get the user allocated CMM 4 char ID's

Parameters:
count the number of CMM's available
allocate_func the users memory allocation function
Returns:
allocated by oyAllocFunc_t
   int    count, i;
   char** ids = oyModulsGetNames ( &count, allocate_func);
   for (i = 0; i < count; ++i)
   { printf( "CMM short name: %s\n", ids[i]);
     free (ids[i]);
   }
   if(count && ids)
     free (ids);


Generated on Sat Jun 16 21:05:41 2007 for Oyranos by  doxygen 1.5.1