summaryrefslogtreecommitdiffstats
path: root/apps/debug_menu.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-23 12:32:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-23 12:32:52 +0000
commitb285076925fed906d95573b64115cb3f6bdafe65 (patch)
tree6d959f585fc210acf39e667991038d21aef48d13 /apps/debug_menu.h
parentad4a92eb87eb98ff316f54f06650f1c5e1dcd7ca (diff)
downloadrockbox-b285076925fed906d95573b64115cb3f6bdafe65.tar.gz
rockbox-b285076925fed906d95573b64115cb3f6bdafe65.tar.bz2
rockbox-b285076925fed906d95573b64115cb3f6bdafe65.zip
Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect can then return MENU_REFRESH_DIR so that the parent (any parent really) that do file or dir-accesses knows that and can do the refresh. If no refresh is needed by the parent, MENU_OK is returned. Somewhat biggish commit this close to 1.3, but we need to sort out this refresh-after-usb-connected business. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.h')
-rw-r--r--apps/debug_menu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/debug_menu.h b/apps/debug_menu.h
index 78b344bce3..5dcc3ac183 100644
--- a/apps/debug_menu.h
+++ b/apps/debug_menu.h
@@ -19,12 +19,12 @@
#ifndef _DEBUG_MENU_H
#define _DEBUG_MENU_H
-void debug_menu(void);
+Menu debug_menu(void);
#ifndef SIMULATOR
-extern void dbg_ports(void);
+extern Menu dbg_ports(void);
#ifdef HAVE_RTC
-extern void dbg_rtc(void);
+extern Menu dbg_rtc(void);
#endif
#endif