summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-01-02 01:43:00 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-01-02 01:43:00 +0000
commitb86f2d05fcfdeda187a1b1b33f1a05fbdaa5d543 (patch)
treee005981304fd2716fe5cfbf345bb43b5a2609e1b /apps/plugin.h
parent9296126417be3be3de2f9a8300eb35a042790c74 (diff)
downloadrockbox-b86f2d05fcfdeda187a1b1b33f1a05fbdaa5d543.zip
rockbox-b86f2d05fcfdeda187a1b1b33f1a05fbdaa5d543.tar.gz
rockbox-b86f2d05fcfdeda187a1b1b33f1a05fbdaa5d543.tar.bz2
rockbox-b86f2d05fcfdeda187a1b1b33f1a05fbdaa5d543.tar.xz
woops... fix the header and bump the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19636 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 440541d..fbf20e8 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -132,12 +132,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 132
+#define PLUGIN_API_VERSION 133
/* 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 131
+#define PLUGIN_MIN_API_VERSION 133
/* plugin return codes */
enum plugin_status {
@@ -318,6 +318,7 @@ struct plugin_api {
int height);
#endif
void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen);
+ bool (*viewportmanager_set_statusbar)(bool enabled);
/* list */
void (*gui_synclist_init)(struct gui_synclist * lists,
list_get_name callback_get_item_name, void * data,
@@ -785,7 +786,6 @@ struct plugin_api {
const char *appsversion;
/* new stuff at the end, sort into place next time
the API gets incompatible */
- void (*viewportmanager_set_statusbar)(bool enabled);
};
/* plugin header */