1 #ifndef _SETTING_PLUGIN_H_
2 #define _SETTING_PLUGIN_H_
5 #include <Elementary.h>
8 #include <libxml/xmlmemory.h>
9 #include <libxml/parser.h>
18 #define PLUGIN_INIT( context ) \
20 setting_drawer_list_init();\
21 setting_dbus_handler_init( context );\
25 setting_dbus_handler_fini();\
26 setting_drawer_list_fini();\
35 extern int setting_dbus_handler_init(void* data);
36 extern int setting_dbus_handler_fini(void);
37 extern void setting_drawer_list_init();
38 extern void setting_drawer_list_fini();
40 typedef void* (*drawer_fp)(void *data, xmlNode *xmlObj);
45 const char* type; // ui type
58 Evas_Object *scroller;
59 Evas_Object *navi_bar;
62 typedef struct PluginNode PluginNode;
69 Eina_Hash *ui_list; // UI element to be udpated
72 extern PluginNode* setting_plugin_create();
73 extern bool setting_plugin_load(PluginNode* context, const char *cfg_file);
74 extern void setting_plugin_destroy(PluginNode* node);
76 #endif //_SETTING_PLUGIN_H_