1 #ifndef E_MOD_MAIN_H
2 #define E_MOD_MAIN_H
3 
4 typedef struct _Config      Config;
5 typedef struct _Config_Item Config_Item;
6 
7 struct _Config
8 {
9    /* saved * loaded config values */
10    Eina_List       *items;
11    /* just config state */
12    E_Module        *module;
13    E_Config_Dialog *config_dialog;
14    Eina_List       *instances;
15    Eina_List       *handlers;
16 };
17 
18 struct _Config_Item
19 {
20    const char *id;
21    const char *dir;
22    int show_label;
23    int eap_label;
24    int lock_move;
25    int dont_add_nonorder;
26    unsigned char dont_track_launch;
27    unsigned char dont_icon_menu_mouseover;
28 };
29 
30 E_API extern E_Module_Api e_modapi;
31 
32 E_API void *e_modapi_init     (E_Module *m);
33 E_API int   e_modapi_shutdown (E_Module *m);
34 E_API int   e_modapi_save     (E_Module *m);
35 
36 void _ibar_config_update(Config_Item *ci);
37 void _config_ibar_module(Config_Item *ci);
38 extern Config *ibar_config;
39 
40 /**
41  * @addtogroup Optional_Gadgets
42  * @{
43  *
44  * @defgroup Module_IBar IBar (Icon Launch Bar)
45  *
46  * Launches applications from an icon bar, usually placed on shelves.
47  *
48  * @}
49  */
50 
51 #endif
52