aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/pager/e_mod_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/pager/e_mod_main.h')
-rw-r--r--src/modules/pager/e_mod_main.h30
1 files changed, 5 insertions, 25 deletions
diff --git a/src/modules/pager/e_mod_main.h b/src/modules/pager/e_mod_main.h
index 746e73343..90409952e 100644
--- a/src/modules/pager/e_mod_main.h
+++ b/src/modules/pager/e_mod_main.h
@@ -1,5 +1,6 @@
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
+#include "gadget/pager.h"
typedef struct _Config Config;
typedef struct _Config_Item Config_Item;
@@ -15,38 +16,17 @@ typedef struct _Config_Item Config_Item;
#define PAGER_DESKNAME_LEFT 3
#define PAGER_DESKNAME_RIGHT 4
-struct _Config
-{
- unsigned int popup;
- double popup_speed;
- unsigned int popup_urgent;
- unsigned int popup_urgent_stick;
- unsigned int popup_urgent_focus;
- double popup_urgent_speed;
- unsigned int show_desk_names;
- int popup_act_height; /*keyaction popup */
- int popup_height; /* urgent/on-deskswitch popup*/
- unsigned int drag_resist;
- unsigned int btn_drag;
- unsigned int btn_noplace;
- unsigned int btn_desk;
- unsigned int flip_desk;
-
- /* just config state */
- E_Module *module;
- E_Config_Dialog *config_dialog;
- Eina_List *instances, *handlers;
-};
-
E_API extern E_Module_Api e_modapi;
E_API void *e_modapi_init(E_Module *m);
E_API int e_modapi_shutdown(E_Module *m);
E_API int e_modapi_save(E_Module *m);
-EINTERN void _pager_cb_config_updated(void);
EINTERN void _config_pager_module(Config_Item *ci);
-extern Config *pager_config;
+
+extern E_Module *module;
+extern E_Config_Dialog *config_dialog;
+extern Eina_List *instances, *shandlers;
/**
* @addtogroup Optional_Gadgets