lib/ewl_config.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | Ewl_Config |
| Contains Ewl configuration data. More... | |
Typedefs | |
| typedef struct Ewl_Config | Ewl_Config |
Functions | |
| void | ewl_config_cache_init (void) |
| int | ewl_config_can_save_system (Ewl_Config *cfg) |
| Determines if the user can write the system config file. | |
| void | ewl_config_color_get (Ewl_Config *cfg, const char *k, int *r, int *g, int *b, int *a) |
| Retrieve color associated with a key. | |
| void | ewl_config_color_set (Ewl_Config *cfg, const char *k, int r, int g, int b, int a, Ewl_State_Type state) |
| Set the value of key to the specified color. | |
| void | ewl_config_destroy (Ewl_Config *cfg) |
| Destroys the given config structure. | |
| float | ewl_config_float_get (Ewl_Config *cfg, const char *k) |
| Retrieve floating point value associated with a key. | |
| void | ewl_config_float_set (Ewl_Config *cfg, const char *k, float v, Ewl_State_Type state) |
| Set the value of key to the specified float. | |
| int | ewl_config_init (void) |
| void | ewl_config_instance_key_remove (Ewl_Config *cfg, const char *k) |
| Removes the given key from the instance configuration data. | |
| void | ewl_config_instance_keys_remove (Ewl_Config *cfg, const char *k) |
| Removes all keys/value pairs from the instance config, which start with the string . | |
| int | ewl_config_int_get (Ewl_Config *cfg, const char *k) |
| Retrieve integer value associated with a key. | |
| void | ewl_config_int_set (Ewl_Config *cfg, const char *k, int v, Ewl_State_Type state) |
| Set the value of key to the specified integer. | |
| void | ewl_config_key_remove (Ewl_Config *cfg, const char *k) |
| Removes key from configuration. | |
| Ecore_List * | ewl_config_keys_get (Ewl_Config *cfg, const char *starts_with) |
| Returns a list with all keys in the config starting with . | |
| void | ewl_config_keys_remove (Ewl_Config *cfg, const char *k) |
| Removes all keys/value pairs from all configs (system, user and instance), which start with the string . | |
| Ewl_Config * | ewl_config_new (const char *app_name) |
| Creats the Ewl_Config file for the given application. | |
| void | ewl_config_shutdown (void) |
| const char * | ewl_config_string_get (Ewl_Config *cfg, const char *k) |
| Retrieve string value associated with a key. | |
| void | ewl_config_string_set (Ewl_Config *cfg, const char *k, const char *v, Ewl_State_Type state) |
| set the value of key to the specified string | |
| void | ewl_config_system_key_remove (Ewl_Config *cfg, const char *k) |
| Removes the given key from the system configuration data. | |
| void | ewl_config_system_keys_remove (Ewl_Config *cfg, const char *k) |
| Removes all keys/value pairs from the system config, which start with the string . | |
| int | ewl_config_system_save (Ewl_Config *cfg) |
| Writes out the system and user data to the system config file. | |
| void | ewl_config_user_key_remove (Ewl_Config *cfg, const char *k) |
| Removes the given key from the user configuration data. | |
| void | ewl_config_user_keys_remove (Ewl_Config *cfg, const char *k) |
| Removes all keys/value pairs from the user config, which start with the string . | |
| int | ewl_config_user_save (Ewl_Config *cfg) |
| Writes out the user config to the users config file. | |