summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorJustin Heiner <jheiner@rockbox.org>2002-08-24 06:57:24 +0000
committerJustin Heiner <jheiner@rockbox.org>2002-08-24 06:57:24 +0000
commit5301881adca9508f12eeb80704a201ff579e5836 (patch)
tree336ff45c4d831d10e2a8214a891ae3b4176eaaa0 /apps/settings.h
parent11f2c3c225b34e03fe869e19e051d5d2a08af69b (diff)
downloadrockbox-5301881adca9508f12eeb80704a201ff579e5836.zip
rockbox-5301881adca9508f12eeb80704a201ff579e5836.tar.gz
rockbox-5301881adca9508f12eeb80704a201ff579e5836.tar.bz2
rockbox-5301881adca9508f12eeb80704a201ff579e5836.tar.xz
Update to the Custom WPS. Now actually works, can be fed any string, uses %xx instead of just %x, and more! It's #define'd out in settings.h - Needs to be enabled to use it. PLAYER ONLY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1963 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 36cf493..fe85c13 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -23,6 +23,9 @@
#include <stdbool.h>
#include "file.h"
+/* Custom WPS Parsing - Uncomment to enable - PLAYER ONLY */
+/* #define CUSTOM_WPS */
+
/* data structures */
#define RESUME_OFF 0
@@ -63,6 +66,10 @@ struct user_settings
bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */
int scroll_speed; /* long texts scrolling speed: 1-20 */
bool playlist_shuffle;
+#ifdef CUSTOM_WPS
+ char custom_wps[64]; /* custom WPS string */
+ bool wps_changed; /* to reload Custom WPS if changed to it */
+#endif
/* while playing screen settings */
int wps_display; /* 0=id3, 1=file, 2=parse */