diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-15 07:20:56 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-15 07:20:56 +0000 |
commit | fea4689e91139ed92f2acad3c3c30afcbf1c1794 (patch) | |
tree | ba29527e52c26fb67bee64c75dbec89d8dae4191 /apps/gui/skin_engine/wps_internals.h | |
parent | fafbfbc56c3f70fe29cb2bc74666298186fa2434 (diff) | |
download | rockbox-fea4689e91139ed92f2acad3c3c30afcbf1c1794.tar.gz rockbox-fea4689e91139ed92f2acad3c3c30afcbf1c1794.zip |
Get rid of those horrible macros to protect against NULL reference when looking up the id3 info for tokens.
Change the way the wps playlist viewer gets the token values. All %i tokens are now supported (and a few others, experiment :) )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24233 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 362f3947e7..837e56eab1 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -358,6 +358,8 @@ const char *get_token_value(struct gui_wps *gwps, | |||
358 | char *buf, int buf_size, | 358 | char *buf, int buf_size, |
359 | int *intval); | 359 | int *intval); |
360 | 360 | ||
361 | const char *get_id3_token(struct wps_token *token, struct mp3entry *id3, | ||
362 | char *buf, int buf_size, int limit, int *intval); | ||
361 | 363 | ||
362 | 364 | ||
363 | struct gui_img* find_image(char label, struct wps_data *data); | 365 | struct gui_img* find_image(char label, struct wps_data *data); |