summaryrefslogtreecommitdiffstats
path: root/apps/playlist_viewer.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-02-20 19:06:39 +0000
committerThomas Martitz <kugel@rockbox.org>2010-02-20 19:06:39 +0000
commitc19e53654b857227e2be224d451037d432529299 (patch)
tree18437a610ce91fe55bcca601cc0dbd21887bd839 /apps/playlist_viewer.h
parentabb3dd4ec2876fa84c1cbf18825ece1c33fc6500 (diff)
downloadrockbox-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.h10
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 @@
#ifndef _PLAYLIST_VIEWER_H_
#define _PLAYLIST_VIEWER_H_
-bool playlist_viewer(void);
-bool playlist_viewer_ex(const char* filename);
+enum playlist_viewer_result playlist_viewer(void);
+enum playlist_viewer_result playlist_viewer_ex(const char* filename);
bool search_playlist(void);
+enum playlist_viewer_result {
+ PLAYLIST_VIEWER_OK,
+ PLAYLIST_VIEWER_USB,
+ PLAYLIST_VIEWER_MAINMENU,
+};
+
#endif