summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-12-25 04:24:47 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-12-25 04:24:47 +0000
commit0e783b062e5ff4763cbc3aafe1dd493590ada516 (patch)
treea717b717db0152390d400b8b3c7fa1c8e60b12c0 /apps/plugin.h
parent1f52f406cbab56e23bddbbf21be5e086600a8b30 (diff)
downloadrockbox-0e783b062e5ff4763cbc3aafe1dd493590ada516.zip
rockbox-0e783b062e5ff4763cbc3aafe1dd493590ada516.tar.gz
rockbox-0e783b062e5ff4763cbc3aafe1dd493590ada516.tar.bz2
rockbox-0e783b062e5ff4763cbc3aafe1dd493590ada516.tar.xz
Update the API version too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19589 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e91c866..e16d9eb 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -131,12 +131,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 129
+#define PLUGIN_API_VERSION 130
/* 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 129
+#define PLUGIN_MIN_API_VERSION 130
/* plugin return codes */
enum plugin_status {
@@ -225,7 +225,7 @@ struct plugin_api {
#ifdef HAVE_LCD_INVERT
void (*lcd_set_invert_display)(bool yesno);
#endif /* HAVE_LCD_INVERT */
-
+
#if defined(HAVE_LCD_ENABLE) && defined(HAVE_LCD_COLOR)
void (*lcd_set_enable_hook)(void (*enable_hook)(void));
struct event_queue *button_queue;
@@ -350,7 +350,7 @@ struct plugin_api {
intptr_t (*button_get_data)(void);
#endif
void (*button_clear_queue)(void);
- int (*button_queue_count)(void);
+ int (*button_queue_count)(void);
#ifdef HAS_BUTTON_HOLD
bool (*button_hold)(void);
#endif
@@ -615,7 +615,7 @@ struct plugin_api {
/* scroll bar */
struct gui_syncstatusbar *statusbars;
void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw);
-
+
/* options */
const struct settings_list* (*get_settings_list)(int*count);
const struct settings_list* (*find_setting)(const void* variable, int *id);
@@ -630,8 +630,8 @@ struct plugin_api {
const char* no_str, int no_voice,
void (*function)(bool));
bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit,
- const int* variable, void (*function)(int), int step,
- int min, int max,
+ const int* variable, void (*function)(int), int step,
+ int min, int max,
void (*formatter)(char*, size_t, int, const char*) );
bool (*set_bool)(const char* string, const bool* variable );
@@ -774,7 +774,7 @@ struct plugin_api {
#endif
void (*thread_thaw)(unsigned int thread_id);
-
+
#ifdef HAVE_SEMAPHORE_OBJECTS
void (*semaphore_init)(struct semaphore *s, int max, int start);
void (*semaphore_wait)(struct semaphore *s);