diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 8d451d8f6f..2821beeab9 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -68,6 +68,7 @@ | |||
68 | #include "menu.h" | 68 | #include "menu.h" |
69 | #include "rbunicode.h" | 69 | #include "rbunicode.h" |
70 | #include "list.h" | 70 | #include "list.h" |
71 | #include "talk.h" | ||
71 | 72 | ||
72 | #ifdef HAVE_REMOTE_LCD | 73 | #ifdef HAVE_REMOTE_LCD |
73 | #include "lcd-remote.h" | 74 | #include "lcd-remote.h" |
@@ -103,7 +104,7 @@ | |||
103 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 104 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
104 | 105 | ||
105 | /* increase this every time the api struct changes */ | 106 | /* increase this every time the api struct changes */ |
106 | #define PLUGIN_API_VERSION 20 | 107 | #define PLUGIN_API_VERSION 21 |
107 | 108 | ||
108 | /* update this to latest version if a change to the api struct breaks | 109 | /* update this to latest version if a change to the api struct breaks |
109 | backwards compatibility (and please take the opportunity to sort in any | 110 | backwards compatibility (and please take the opportunity to sort in any |
@@ -515,6 +516,10 @@ struct plugin_api { | |||
515 | void (*lcd_setmargins)(int x, int y); | 516 | void (*lcd_setmargins)(int x, int y); |
516 | #endif | 517 | #endif |
517 | int (*utf8seek)(const unsigned char* utf8, int offset); | 518 | int (*utf8seek)(const unsigned char* utf8, int offset); |
519 | |||
520 | bool (*set_int)(const unsigned char* string, const char* unit, int voice_unit, | ||
521 | int* variable, void (*function)(int), int step, int min, | ||
522 | int max, void (*formatter)(char*, int, int, const char*) ); | ||
518 | }; | 523 | }; |
519 | 524 | ||
520 | /* plugin header */ | 525 | /* plugin header */ |