summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-08 11:55:43 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-08 11:55:43 +0000
commit77a458a464450c4e9d6977ac3f27b0e56217443c (patch)
tree526440820d32959de28747194effefb2ad6012d0 /apps/menu.h
parentb15ef987ca75a6940313ae22f638363d50d7919e (diff)
downloadrockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.gz
rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.bz2
rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.zip
Move the old api out of the core and into the plugin lib.
ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/menu.h b/apps/menu.h
index 7e08ef5aac..7b26bbc90c 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -35,8 +35,6 @@ enum menu_item_type {
MT_FUNCTION_CALL, /* call a function from the menus */
MT_RETURN_ID, /* returns the position of the selected item (starting at 0)*/
MT_RETURN_VALUE, /* returns a value associated with an item */
- MT_OLD_MENU, /* used so we can wrap the old menu api
- around the new api. Noone else should use this */
};
#define MENU_TYPE_MASK 0xF /* MT_* type */
@@ -192,22 +190,4 @@ bool do_setting_from_menu(const struct menu_item_ex *temp);
{ (void*)name##_},{.callback_and_desc = & name##__}};
-/* OLD API - This is only here for plugin compatability now, will be dropped ASAP */
-struct menu_item {
- unsigned char *desc; /* string or ID */
- bool (*function) (void); /* return true if USB was connected */
-};
-
-/* if button2 == button3 == NULL, button1 is the menu title */
-int menu_init(const struct menu_item* mitems, int count,
- int (*callback)(int, int),
- const char *button1, const char *button2, const char *button3);
-void menu_exit(int menu);
-
- /* Returns MENU_* define from root_menu.h, or number of selected menu item*/
-int menu_show(int m);
-
-bool menu_run(int menu);
-int menu_count(int menu);
-
#endif /* End __MENU_H__ */