52 lines
923 B
C
52 lines
923 B
C
/*
|
|
* XML parsing abstraction interface header.
|
|
* Contains public structs and lists externs which are further used.
|
|
*/
|
|
|
|
#ifndef E_MOD_PARSE_H
|
|
#define E_MOD_PARSE_H
|
|
|
|
typedef struct _E_XKB_Model
|
|
{
|
|
const char *name;
|
|
const char *description;
|
|
} E_XKB_Model;
|
|
|
|
typedef struct _E_XKB_Variant
|
|
{
|
|
const char *name;
|
|
const char *description;
|
|
} E_XKB_Variant;
|
|
|
|
typedef struct _E_XKB_Layout
|
|
{
|
|
const char *name;
|
|
const char *description;
|
|
|
|
Eina_List *variants;
|
|
} E_XKB_Layout;
|
|
|
|
typedef struct _E_XKB_Option_Group
|
|
{
|
|
const char *description;
|
|
Eina_List *options;
|
|
} E_XKB_Option_Group;
|
|
|
|
typedef struct _E_XKB_Option
|
|
{
|
|
const char *name;
|
|
const char *description;
|
|
} E_XKB_Option;
|
|
|
|
int parse_rules(void);
|
|
void clear_rules(void);
|
|
void find_rules(void);
|
|
|
|
int layout_sort_by_name_cb(const void *data1, const void *data2);
|
|
|
|
extern Eina_List *models;
|
|
extern Eina_List *layouts;
|
|
extern Eina_List *optgroups;
|
|
|
|
#endif
|