summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-09-17 22:20:05 +0000
committerJens Arnold <amiconn@rockbox.org>2006-09-17 22:20:05 +0000
commitb0a7de6b7d8459b2bc2f4dd6e7c81ebaade13c5c (patch)
treecd06fa97a5776149f9a016b931f9a107c94ce818
parent6b97c1793fd8a051eec1ae53641873e95aabd43c (diff)
downloadrockbox-b0a7de6b7d8459b2bc2f4dd6e7c81ebaade13c5c.tar.gz
rockbox-b0a7de6b7d8459b2bc2f4dd6e7c81ebaade13c5c.zip
Solitaire: * Button assignments: Better layout for ipods, allowing one-handed operation during the game. More logical shortcut buttons for Ondios. Slight changes for other targets, including working button repeat for up/down when there is no dual use. * Help text showing all possible buttons instead of forcing the user to try and find out. The text adapts to LCD resolution and selected font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10985 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 9ffb980300..04a4d1c735 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -466,6 +466,8 @@ static const struct plugin_api rockbox_api = {
466 466
467 /* new stuff at the end, sort into place next time 467 /* new stuff at the end, sort into place next time
468 the API gets incompatible */ 468 the API gets incompatible */
469
470 strtok_r,
469}; 471};
470 472
471int plugin_load(const char* plugin, void* parameter) 473int plugin_load(const char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index b89dfd0d81..b0221c489d 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -105,7 +105,7 @@
105#define PLUGIN_MAGIC 0x526F634B /* RocK */ 105#define PLUGIN_MAGIC 0x526F634B /* RocK */
106 106
107/* increase this every time the api struct changes */ 107/* increase this every time the api struct changes */
108#define PLUGIN_API_VERSION 30 108#define PLUGIN_API_VERSION 31
109 109
110/* update this to latest version if a change to the api struct breaks 110/* update this to latest version if a change to the api struct breaks
111 backwards compatibility (and please take the opportunity to sort in any 111 backwards compatibility (and please take the opportunity to sort in any
@@ -545,6 +545,8 @@ struct plugin_api {
545 545
546 /* new stuff at the end, sort into place next time 546 /* new stuff at the end, sort into place next time
547 the API gets incompatible */ 547 the API gets incompatible */
548
549 char* (*strtok_r)(char *ptr, const char *sep, char **end);
548}; 550};
549 551
550/* plugin header */ 552/* plugin header */