scim
1.4.18
|
functions to read the global configurations. More...
Namespaces | |
scim | |
Functions | |
String | scim::scim_global_config_read (const String &key, const String &defVal=String()) |
Read a string value from the global configuration file. More... | |
int | scim::scim_global_config_read (const String &key, int defVal) |
Read an int value from the global configuration file. More... | |
bool | scim::scim_global_config_read (const String &key, bool defVal) |
Read a bool value from the global configuration file. More... | |
double | scim::scim_global_config_read (const String &key, double defVal) |
Read a double value from the global configuration file. More... | |
std::vector< String > | scim::scim_global_config_read (const String &key, const std::vector< String > &defVal) |
Read a string list from the global configuration file. More... | |
std::vector< int > | scim::scim_global_config_read (const String &key, const std::vector< int > &defVal) |
Read an int list from the global configuration file. More... | |
void | scim::scim_global_config_write (const String &key, const String &val) |
Write a string value into the user global config. More... | |
void | scim::scim_global_config_write (const String &key, int val) |
Write an int value into the user global config. More... | |
void | scim::scim_global_config_write (const String &key, bool val) |
Write a bool value into the user global config. More... | |
void | scim::scim_global_config_write (const String &key, double val) |
Write a double value into the user global config. More... | |
void | scim::scim_global_config_write (const String &key, const std::vector< String > &val) |
Write a string list into the user global config. More... | |
void | scim::scim_global_config_write (const String &key, const std::vector< int > &val) |
Write an int list into the user global config. More... | |
void | scim::scim_global_config_reset (const String &key) |
Reset the value associated to the specified key to its default value. More... | |
bool | scim::scim_global_config_flush () |
Flush the updated global config into user global config file. More... | |
functions to read the global configurations.
The global configuration file (normally /etc/scim/global) is used to store the configurations for libscim itself and the system wide configurations which will be read before any Config module is loaded.