Add a task to copy configuration files to user's HOME dir from data dir for multi...
[platform/core/uifw/e17.git] / src / modules / xkbswitch / e_mod_parse.h
1 /*
2  * XML parsing abstraction interface header.
3  * Contains public structs and lists externs which are further used.
4  */
5
6 #ifndef E_MOD_PARSE_H
7 #define E_MOD_PARSE_H
8
9 typedef struct _E_XKB_Model
10 {
11     const char *name;
12     const char *description;
13 } E_XKB_Model;
14
15 typedef struct _E_XKB_Variant
16 {
17     const char *name;
18     const char *description;
19 } E_XKB_Variant;
20
21 typedef struct _E_XKB_Layout
22 {
23     const char *name;
24     const char *description;
25
26     Eina_List *variants;
27 } E_XKB_Layout;
28
29 typedef struct _E_XKB_Option_Group
30 {
31     const char *description;
32     Eina_List  *options;
33 } E_XKB_Option_Group;
34
35 typedef struct _E_XKB_Option
36 {
37     const char *name;
38     const char *description;
39 } E_XKB_Option;
40
41 int  parse_rules(void);
42 void clear_rules(void);
43 void  find_rules(void);
44
45 int layout_sort_cb        (const void *data1, const void *data2);
46 int layout_sort_by_name_cb(const void *data1, const void *data2);
47
48 extern Eina_List *models;
49 extern Eina_List *layouts;
50 extern Eina_List *optgroups;
51
52 #endif