summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-02-01 13:43:08 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-02-01 13:43:08 +0000
commit036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1 (patch)
tree406697049f3b4f1176948b5eaf9d3cb2a30dd0ff /apps/plugin.h
parentee8c479dff7f4eb208901dc1da38a79cbd588414 (diff)
downloadrockbox-036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1.zip
rockbox-036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1.tar.gz
rockbox-036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1.tar.bz2
rockbox-036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1.tar.xz
Accept a quick patch from Alexander Levin to neaten up the #defines and comments from my earlier commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19897 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 05e4db0..2017bf3 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -126,12 +126,12 @@ void* plugin_get_buffer(size_t *buffer_size);
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 140
+#define PLUGIN_API_VERSION 141
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define PLUGIN_MIN_API_VERSION 140
+#define PLUGIN_MIN_API_VERSION 141
/* plugin return codes */
enum plugin_status {
@@ -312,7 +312,7 @@ struct plugin_api {
int height);
#endif
void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen);
- char (*viewportmanager_set_statusbar)(char enabled);
+ int (*viewportmanager_set_statusbar)(int enable_status);
/* list */
void (*gui_synclist_init)(struct gui_synclist * lists,
list_get_name callback_get_item_name, void * data,