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.tar.gz
rockbox-b86f2d05fcfdeda187a1b1b33f1a05fbdaa5d543.zip
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 440541d510..fbf20e84e4 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -132,12 +132,12 @@ void* plugin_get_buffer(size_t *buffer_size);
132#define PLUGIN_MAGIC 0x526F634B /* RocK */ 132#define PLUGIN_MAGIC 0x526F634B /* RocK */
133 133
134/* increase this every time the api struct changes */ 134/* increase this every time the api struct changes */
135#define PLUGIN_API_VERSION 132 135#define PLUGIN_API_VERSION 133
136 136
137/* update this to latest version if a change to the api struct breaks 137/* update this to latest version if a change to the api struct breaks
138 backwards compatibility (and please take the opportunity to sort in any 138 backwards compatibility (and please take the opportunity to sort in any
139 new function which are "waiting" at the end of the function table) */ 139 new function which are "waiting" at the end of the function table) */
140#define PLUGIN_MIN_API_VERSION 131 140#define PLUGIN_MIN_API_VERSION 133
141 141
142/* plugin return codes */ 142/* plugin return codes */
143enum plugin_status { 143enum plugin_status {
@@ -318,6 +318,7 @@ struct plugin_api {
318 int height); 318 int height);
319#endif 319#endif
320 void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen); 320 void (*viewport_set_defaults)(struct viewport *vp, enum screen_type screen);
321 bool (*viewportmanager_set_statusbar)(bool enabled);
321 /* list */ 322 /* list */
322 void (*gui_synclist_init)(struct gui_synclist * lists, 323 void (*gui_synclist_init)(struct gui_synclist * lists,
323 list_get_name callback_get_item_name, void * data, 324 list_get_name callback_get_item_name, void * data,
@@ -785,7 +786,6 @@ struct plugin_api {
785 const char *appsversion; 786 const char *appsversion;
786 /* new stuff at the end, sort into place next time 787 /* new stuff at the end, sort into place next time
787 the API gets incompatible */ 788 the API gets incompatible */
788 void (*viewportmanager_set_statusbar)(bool enabled);
789}; 789};
790 790
791/* plugin header */ 791/* plugin header */