diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/lib/ecore_config/ecore_config_private.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/libraries/ecore/src/lib/ecore_config/ecore_config_private.h b/libraries/ecore/src/lib/ecore_config/ecore_config_private.h new file mode 100644 index 0000000..b97f695 --- /dev/null +++ b/libraries/ecore/src/lib/ecore_config/ecore_config_private.h | |||
@@ -0,0 +1,70 @@ | |||
1 | #ifndef _ECORE_CONFIG_PRIVATE_H | ||
2 | # define _ECORE_CONFIG_PRIVATE_H | ||
3 | #ifdef ECORE_CONFIG_DEFAULT_LOG_COLOR | ||
4 | # undef ECORE_CONFIG_DEFAULT_LOG_COLOR | ||
5 | #endif | ||
6 | #define ECORE_CONFIG_DEFAULT_LOG_COLOR EINA_COLOR_BLUE | ||
7 | /* eina_log related things */ | ||
8 | |||
9 | extern int _ecore_config_log_dom; | ||
10 | #ifdef ERR | ||
11 | # undef ERR | ||
12 | #endif | ||
13 | #define ERR(...) EINA_LOG_DOM_ERR(_ecore_config_log_dom, __VA_ARGS__) | ||
14 | |||
15 | #ifdef DBG | ||
16 | # undef DBG | ||
17 | #endif | ||
18 | #define DBG(...) EINA_LOG_DOM_DBG(_ecore_config_log_dom, __VA_ARGS__) | ||
19 | |||
20 | #ifdef INF | ||
21 | # undef INF | ||
22 | #endif | ||
23 | #define INF(...) EINA_LOG_DOM_INFO(_ecore_config_log_dom, __VA_ARGS__) | ||
24 | |||
25 | #ifdef WRN | ||
26 | # undef WRN | ||
27 | #endif | ||
28 | #define WRN(...) EINA_LOG_DOM_WARN(_ecore_config_log_dom, __VA_ARGS__) | ||
29 | |||
30 | #ifdef CRIT | ||
31 | # undef CRIT | ||
32 | #endif | ||
33 | #define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_config_log_dom, __VA_ARGS__) | ||
34 | |||
35 | /* debug */ | ||
36 | extern int DEBUG; | ||
37 | |||
38 | |||
39 | typedef struct _Ecore_Config_DB_File Ecore_Config_DB_File; | ||
40 | |||
41 | int _ecore_config_mod_init(const char *pipe_name, void **data); | ||
42 | int _ecore_config_mod_exit(void **data); | ||
43 | int _ecore_config_mod_poll(void **data); | ||
44 | |||
45 | Ecore_Config_DB_File *_ecore_config_db_open_read(const char *file); | ||
46 | Ecore_Config_DB_File *_ecore_config_db_open_write(const char *file); | ||
47 | void _ecore_config_db_close(Ecore_Config_DB_File *db); | ||
48 | char **_ecore_config_db_keys_get(Ecore_Config_DB_File *db, int *num_ret); | ||
49 | Ecore_Config_Type _ecore_config_db_key_type_get(Ecore_Config_DB_File *db, const char *key); | ||
50 | int _ecore_config_db_read(Ecore_Config_DB_File *db, const char *key); | ||
51 | void _ecore_config_db_write(Ecore_Config_DB_File *db, Ecore_Config_Prop *e); | ||
52 | |||
53 | int _ecore_config_boolean_get(Ecore_Config_Prop *e); | ||
54 | char *_ecore_config_string_get(Ecore_Config_Prop *e); | ||
55 | long _ecore_config_int_get(Ecore_Config_Prop *e); | ||
56 | int _ecore_config_argb_get(Ecore_Config_Prop *e, int *a, int *r, | ||
57 | int *g, int *b); | ||
58 | char *_ecore_config_argbstr_get(Ecore_Config_Prop *e); | ||
59 | long _ecore_config_argbint_get(Ecore_Config_Prop *e); | ||
60 | float _ecore_config_float_get(Ecore_Config_Prop *e); | ||
61 | char *_ecore_config_theme_get(Ecore_Config_Prop *e); | ||
62 | |||
63 | int _ecore_config_ipc_ecore_init(const char *pipe_name, void **data); | ||
64 | int _ecore_config_ipc_ecore_exit(void **data); | ||
65 | int _ecore_config_ipc_ecore_poll(void **data); | ||
66 | |||
67 | #include "Ecore.h" | ||
68 | #include "ecore_private.h" | ||
69 | |||
70 | #endif | ||