From 036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 1 Feb 2009 13:43:08 +0000 Subject: 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 --- apps/plugin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugin.h') 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, -- cgit v1.1