summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
authorChristi Scarborough <christi@coraline.org>2005-11-17 20:14:59 +0000
committerChristi Scarborough <christi@coraline.org>2005-11-17 20:14:59 +0000
commit4c0b83f5e913820bbcf203fee1606d9910925946 (patch)
treec4e9cdcb1cf8196f60a3ff8b68ebc5d1a514e967 /apps/tree.c
parentbc1fb0f5d91084d3e06ef3526533324108bf1de7 (diff)
downloadrockbox-4c0b83f5e913820bbcf203fee1606d9910925946.tar.gz
rockbox-4c0b83f5e913820bbcf203fee1606d9910925946.tar.bz2
rockbox-4c0b83f5e913820bbcf203fee1606d9910925946.zip
Remote WPS support (and some WPS bugfixes) by Stephan Wezel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index bfeac6c545..39980b1b81 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -36,8 +36,7 @@
#include "audio.h"
#include "playlist.h"
#include "menu.h"
-#include "wps.h"
-#include "wps-display.h"
+#include "gwps.h"
#include "settings.h"
#include "status.h"
#include "debug.h"
@@ -97,6 +96,9 @@ const struct filetype filetypes[] = {
{ "m3u", TREE_ATTR_M3U, Icon_Playlist, LANG_PLAYLIST },
{ "cfg", TREE_ATTR_CFG, Icon_Config, VOICE_EXT_CFG },
{ "wps", TREE_ATTR_WPS, Icon_Wps, VOICE_EXT_WPS },
+#ifdef HAVE_REMOTE_LCD
+ { "rwps", TREE_ATTR_RWPS, Icon_Wps, VOICE_EXT_RWPS },
+#endif
{ "lng", TREE_ATTR_LNG, Icon_Language, LANG_LANGUAGE },
{ "rock",TREE_ATTR_ROCK,Icon_Plugin, VOICE_EXT_ROCK },
#ifdef HAVE_LCD_BITMAP
@@ -212,6 +214,7 @@ void browse_root(void)
{
/* essential to all programs that wants to display things */
screen_access_init();
+ gui_sync_wps_screen_init();
filetype_init();
check_rockboxdir();
@@ -885,7 +888,7 @@ static bool dirbrowse(void)
int i;
FOR_NB_SCREENS(i)
screens[i].stop_scroll();
- if (wps_show() == SYS_USB_CONNECTED)
+ if (gui_wps_show() == SYS_USB_CONNECTED)
reload_dir = true;
#ifdef HAVE_HOTSWAP
else