![]() |
Oyranos Color Management System API - Version 0.9.6 |
Access to data path names for Installation. More...
|
Macros | |
| #define | oySCOPE_OYRANOS 0x04 |
| #define | oySCOPE_MACHINE 0x08 |
Enumerations |
Functions | |
| char * | oyGetInstallPath (oyPATH_TYPE_e type, oySCOPE_e scope, oyAlloc_f allocFunc) |
| get Path Name for Installation More... | |
Access to data path names for Installation.
The obtained informations can be used outside Oyranos, to do system specific operations, which do not easily fit into the library.
| #define oySCOPE_MACHINE 0x08 |
use machine data scope
Referenced by oyGetInstallPath().
| #define oySCOPE_OYRANOS 0x04 |
use Oyranos installation data scope
Referenced by oyGetInstallPath().
| enum oyPATH_TYPE_e |
| enum oySCOPE_e |
| char * oyGetInstallPath | ( | oyPATH_TYPE_e | type, |
| oySCOPE_e | scope, | ||
| oyAlloc_f | allocFunc | ||
| ) |
get Path Name for Installation
Note: Not all combinations return a path name. Some make no sense. So be careful and test the result. The returned paths are absolute.
oyPATH_MODULE + oySCOPE_USER and oyPATH_MODULE + oySCOPE_OYRANOS are supported. ::oyPATH_SCRIPT gives no result at all.
References OY_CMMDIR, OY_CMMSUBPATH, OY_ICCDIRNAME, OY_LIBDIR, OY_SETTINGSDIRNAME, OY_SLASH, OY_SYSCOLORDIR, oyPATH_ICC, oyPATH_MODULE, oyPATH_POLICY, oySCOPE_MACHINE, oySCOPE_OYRANOS, oySCOPE_SYSTEM, and oySCOPE_USER.
Referenced by oyPolicySaveActual(), and oyProfile_s::oyProfile_Install().