diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-23 12:32:52 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-23 12:32:52 +0000 |
commit | b285076925fed906d95573b64115cb3f6bdafe65 (patch) | |
tree | 6d959f585fc210acf39e667991038d21aef48d13 /apps/screensavers_menu.h | |
parent | ad4a92eb87eb98ff316f54f06650f1c5e1dcd7ca (diff) | |
download | rockbox-b285076925fed906d95573b64115cb3f6bdafe65.tar.gz 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/screensavers_menu.h')
-rw-r--r-- | apps/screensavers_menu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screensavers_menu.h b/apps/screensavers_menu.h index 42a40cf826..cac4c43cc9 100644 --- a/apps/screensavers_menu.h +++ b/apps/screensavers_menu.h | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifndef _SCREENSAVERS_MENU_H | 19 | #ifndef _SCREENSAVERS_MENU_H |
20 | #define _SCREENSAVERS_MENU_H | 20 | #define _SCREENSAVERS_MENU_H |
21 | 21 | ||
22 | void screensavers_menu(void); | 22 | Menu screensavers_menu(void); |
23 | 23 | ||
24 | #endif | 24 | #endif |
25 | 25 | ||