summaryrefslogtreecommitdiff
path: root/src/bin/e_int_menus.h
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-08-23 10:26:44 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-08-23 10:26:44 +0000
commitd4c68591783789f62dc0b544a96f2b52cf5ad433 (patch)
tree7eeb32879b6adf1bde775d5385b2792a68d86b8a /src/bin/e_int_menus.h
parentff2e5339238dda8f23aaa1172cf6e4fd6c6429a5 (diff)
downloadenlightenment-d4c68591783789f62dc0b544a96f2b52cf5ad433.tar.gz
Move randr module from gadget to submenu in main menu.
SVN revision: 16298
Diffstat (limited to 'src/bin/e_int_menus.h')
-rw-r--r--src/bin/e_int_menus.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/bin/e_int_menus.h b/src/bin/e_int_menus.h
index 78b497f228..2b5f39bf64 100644
--- a/src/bin/e_int_menus.h
+++ b/src/bin/e_int_menus.h
@@ -2,19 +2,38 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifdef E_TYPEDEFS
+
+typedef struct _E_Int_Menu_Augmentation E_Int_Menu_Augmentation;
+
#else
#ifndef E_INT_MENUS_H
#define E_INT_MENUS_H
+struct _E_Int_Menu_Augmentation
+{
+ struct {
+ void (*func)(void *data, E_Menu *m);
+ void *data;
+ } add, del;
+};
+
EAPI E_Menu *e_int_menus_main_new(void);
EAPI E_Menu *e_int_menus_desktops_new(void);
EAPI E_Menu *e_int_menus_clients_new(void);
EAPI E_Menu *e_int_menus_apps_new(char *dir);
EAPI E_Menu *e_int_menus_favorite_apps_new(void);
-EAPI E_Menu *e_int_menus_config_apps_new(void);
+EAPI E_Menu *e_int_menus_config_new(void);
EAPI E_Menu *e_int_menus_gadgets_new(void);
EAPI E_Menu *e_int_menus_themes_new(void);
EAPI E_Menu *e_int_menus_lost_clients_new(void);
+
+EAPI E_Int_Menu_Augmentation *e_int_menus_menu_augmentation_add(const char *menu,
+ void (*func_add) (void *data, E_Menu *m),
+ void *data_add,
+ void (*func_del) (void *data, E_Menu *m),
+ void *data_del);
+EAPI void e_int_menus_menu_augmentation_del(const char *menu,
+ E_Int_Menu_Augmentation *maug);
#endif
#endif