diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-02-20 19:06:39 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-02-20 19:06:39 +0000 |
commit | c19e53654b857227e2be224d451037d432529299 (patch) | |
tree | 18437a610ce91fe55bcca601cc0dbd21887bd839 /apps/playlist_viewer.h | |
parent | abb3dd4ec2876fa84c1cbf18825ece1c33fc6500 (diff) | |
download | rockbox-c19e53654b857227e2be224d451037d432529299.tar.gz rockbox-c19e53654b857227e2be224d451037d432529299.zip |
Playlist Viewer Changes to bring consistency:
- combine its two context menus to one and
- make the ACTION_STD_MENU go to the main menu as it does in all other screens
- call playlist_viewer() via root_menu to reduce call depth and to be consistent with other screens (and for the above changes to be more flexible w.r.t to the following screen)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24791 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_viewer.h')
-rw-r--r-- | apps/playlist_viewer.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/playlist_viewer.h b/apps/playlist_viewer.h index 8526d032e7..97f5b0baef 100644 --- a/apps/playlist_viewer.h +++ b/apps/playlist_viewer.h | |||
@@ -23,8 +23,14 @@ | |||
23 | #ifndef _PLAYLIST_VIEWER_H_ | 23 | #ifndef _PLAYLIST_VIEWER_H_ |
24 | #define _PLAYLIST_VIEWER_H_ | 24 | #define _PLAYLIST_VIEWER_H_ |
25 | 25 | ||
26 | bool playlist_viewer(void); | 26 | enum playlist_viewer_result playlist_viewer(void); |
27 | bool playlist_viewer_ex(const char* filename); | 27 | enum playlist_viewer_result playlist_viewer_ex(const char* filename); |
28 | bool search_playlist(void); | 28 | bool search_playlist(void); |
29 | 29 | ||
30 | enum playlist_viewer_result { | ||
31 | PLAYLIST_VIEWER_OK, | ||
32 | PLAYLIST_VIEWER_USB, | ||
33 | PLAYLIST_VIEWER_MAINMENU, | ||
34 | }; | ||
35 | |||
30 | #endif | 36 | #endif |