summaryrefslogtreecommitdiff
path: root/apps/gui/wps_parser.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-11-16 09:56:38 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-11-16 09:56:38 +0000
commitc41bd04722534a6122f6cd2249d4494ceab4c3a5 (patch)
tree123a47a29db92e95e3fbc4e2635e8a9508e7f7e9 /apps/gui/wps_parser.c
parent76d2dd9c0ed0c4f105c4cdd18f1c110cfcb4d9d5 (diff)
downloadrockbox-c41bd04722534a6122f6cd2249d4494ceab4c3a5.zip
rockbox-c41bd04722534a6122f6cd2249d4494ceab4c3a5.tar.gz
rockbox-c41bd04722534a6122f6cd2249d4494ceab4c3a5.tar.bz2
rockbox-c41bd04722534a6122f6cd2249d4494ceab4c3a5.tar.xz
revert the previous commit to find a nice way to fix the yellow...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19111 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps_parser.c')
-rw-r--r--apps/gui/wps_parser.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c
index f421a0c..1b845c9 100644
--- a/apps/gui/wps_parser.c
+++ b/apps/gui/wps_parser.c
@@ -162,8 +162,6 @@ static int parse_albumart_load(const char *wps_bufptr,
static int parse_albumart_conditional(const char *wps_bufptr,
struct wps_token *token, struct wps_data *wps_data);
#endif /* HAVE_ALBUMART */
-static int parse_viewmode(const char *wps_bufptr,
- struct wps_token *token, struct wps_data *wps_data);
#ifdef CONFIG_RTC
#define WPS_RTC_REFRESH WPS_REFRESH_DYNAMIC
@@ -283,8 +281,6 @@ static const struct wps_tag all_tags[] = {
{ WPS_TOKEN_PLAYBACK_STATUS, "mp", WPS_REFRESH_DYNAMIC, NULL },
{ WPS_TOKEN_BUTTON_VOLUME, "mv", WPS_REFRESH_DYNAMIC,
parse_timeout },
- { WPS_TOKEN_VIEWMODE, "mo", WPS_REFRESH_STATIC,
- parse_viewmode },
#ifdef HAVE_LCD_BITMAP
{ WPS_TOKEN_PEAKMETER, "pm", WPS_REFRESH_PEAK_METER, NULL },
@@ -1146,15 +1142,6 @@ static int parse_albumart_conditional(const char *wps_bufptr,
};
#endif /* HAVE_ALBUMART */
-static int parse_viewmode(const char *wps_bufptr,
- struct wps_token *token,
- struct wps_data *wps_data)
-{
- (void)wps_bufptr; (void)token;
- wps_data->current_mode = 1;
- /* are we going to add parameters? */
- return 0;
-}
/* Parse a generic token from the given string. Return the length read */
static int parse_token(const char *wps_bufptr, struct wps_data *wps_data)
{
@@ -1489,7 +1476,6 @@ void wps_data_init(struct wps_data *wps_data)
wps_data->full_line_progressbar = false;
#endif
wps_data->button_time_volume = 0;
- wps_data->current_mode = -1;
wps_data->wps_loaded = false;
}