summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c5
-rw-r--r--apps/plugin.h9
2 files changed, 12 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 51ef40f010..1196a88195 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -565,6 +565,11 @@ static const struct plugin_api rockbox_api = {
565 /* statusbars */ 565 /* statusbars */
566 &statusbars, 566 &statusbars,
567 gui_syncstatusbar_draw, 567 gui_syncstatusbar_draw,
568#ifdef HAVE_LCD_BITMAP
569 sb_skin_get_info_vp,
570 sb_skin_update,
571#endif
572
568 /* options */ 573 /* options */
569 get_settings_list, 574 get_settings_list,
570 find_setting, 575 find_setting,
diff --git a/apps/plugin.h b/apps/plugin.h
index edad8c4e9b..21ec7e42df 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -84,6 +84,7 @@ void* plugin_get_buffer(size_t *buffer_size);
84#include "scrollbar.h" 84#include "scrollbar.h"
85#include "jpeg_load.h" 85#include "jpeg_load.h"
86#include "../recorder/bmp.h" 86#include "../recorder/bmp.h"
87#include "statusbar-skinned.h"
87#endif 88#endif
88#include "statusbar.h" 89#include "statusbar.h"
89#include "menu.h" 90#include "menu.h"
@@ -144,12 +145,12 @@ void* plugin_get_buffer(size_t *buffer_size);
144#define PLUGIN_MAGIC 0x526F634B /* RocK */ 145#define PLUGIN_MAGIC 0x526F634B /* RocK */
145 146
146/* increase this every time the api struct changes */ 147/* increase this every time the api struct changes */
147#define PLUGIN_API_VERSION 188 148#define PLUGIN_API_VERSION 189
148 149
149/* update this to latest version if a change to the api struct breaks 150/* update this to latest version if a change to the api struct breaks
150 backwards compatibility (and please take the opportunity to sort in any 151 backwards compatibility (and please take the opportunity to sort in any
151 new function which are "waiting" at the end of the function table) */ 152 new function which are "waiting" at the end of the function table) */
152#define PLUGIN_MIN_API_VERSION 188 153#define PLUGIN_MIN_API_VERSION 189
153 154
154/* plugin return codes */ 155/* plugin return codes */
155enum plugin_status { 156enum plugin_status {
@@ -694,6 +695,10 @@ struct plugin_api {
694 /* scroll bar */ 695 /* scroll bar */
695 struct gui_syncstatusbar *statusbars; 696 struct gui_syncstatusbar *statusbars;
696 void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw); 697 void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw);
698#ifdef HAVE_LCD_BITMAP
699 struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen);
700 void (*sb_skin_update)(enum screen_type screen, bool force);
701#endif
697 702
698 /* options */ 703 /* options */
699 const struct settings_list* (*get_settings_list)(int*count); 704 const struct settings_list* (*get_settings_list)(int*count);