Factor out symbols from keyboard file.

This commit is contained in:
Daiki Ueno
2012-03-19 17:25:04 +09:00
parent 523bd9b788
commit 048e08b59a
67 changed files with 7240 additions and 19707 deletions

View File

@ -65,14 +65,21 @@ struct _EekXmlLayoutClass
gpointer pdummy[24];
};
GType eek_xml_layout_get_type (void) G_GNUC_CONST;
struct _EekXmlKeyboardDesc
{
gchar *id;
gchar *name;
gchar *geometry;
gchar *symbols;
gchar *language;
gchar *longname;
};
typedef struct _EekXmlKeyboardDesc EekXmlKeyboardDesc;
EekLayout *eek_xml_layout_new (GInputStream *source);
void eek_xml_layout_set_source (EekXmlLayout *layout,
GInputStream *source);
GInputStream * eek_xml_layout_get_source (EekXmlLayout *layout);
GType eek_xml_layout_get_type (void) G_GNUC_CONST;
EekLayout *eek_xml_layout_new (const gchar *id,
GError **error);
GSList *eek_xml_layout_list_keyboards (void);
G_END_DECLS
#endif /* EEK_XML_LAYOUT_H */