diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 70260dbbb0..a53618d93c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -251,6 +251,8 @@ static struct plugin_api rockbox_api = { | |||
251 | lcd_put_cursor, | 251 | lcd_put_cursor, |
252 | lcd_remove_cursor, | 252 | lcd_remove_cursor, |
253 | #endif | 253 | #endif |
254 | settings_parseline, | ||
255 | strcmp, | ||
254 | }; | 256 | }; |
255 | 257 | ||
256 | int plugin_load(char* plugin, void* parameter) | 258 | int plugin_load(char* plugin, void* parameter) |
diff --git a/apps/plugin.h b/apps/plugin.h index ace963c905..659e6dbda3 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -60,7 +60,7 @@ | |||
60 | #endif | 60 | #endif |
61 | 61 | ||
62 | /* increase this every time the api struct changes */ | 62 | /* increase this every time the api struct changes */ |
63 | #define PLUGIN_API_VERSION 20 | 63 | #define PLUGIN_API_VERSION 21 |
64 | 64 | ||
65 | /* update this to latest version if a change to the api struct breaks | 65 | /* update this to latest version if a change to the api struct breaks |
66 | backwards compatibility (and please take the opportunity to sort in any | 66 | backwards compatibility (and please take the opportunity to sort in any |
@@ -287,6 +287,8 @@ struct plugin_api { | |||
287 | void (*lcd_put_cursor)(int x, int y, char cursor_char); | 287 | void (*lcd_put_cursor)(int x, int y, char cursor_char); |
288 | void (*lcd_remove_cursor)(void); | 288 | void (*lcd_remove_cursor)(void); |
289 | #endif | 289 | #endif |
290 | bool (*settings_parseline)(char* line, char** name, char** value); | ||
291 | int (*strcmp)(const char *, const char *); | ||
290 | }; | 292 | }; |
291 | 293 | ||
292 | /* defined by the plugin loader (plugin.c) */ | 294 | /* defined by the plugin loader (plugin.c) */ |