diff options
-rw-r--r-- | apps/plugin.c | 1 | ||||
-rw-r--r-- | apps/plugin.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 9354fabfed..dff4d6b6ee 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -232,6 +232,7 @@ static struct plugin_api rockbox_api = { | |||
232 | #endif | 232 | #endif |
233 | #endif | 233 | #endif |
234 | battery_level, | 234 | battery_level, |
235 | set_time, | ||
235 | }; | 236 | }; |
236 | 237 | ||
237 | int plugin_load(char* plugin, void* parameter) | 238 | int plugin_load(char* plugin, void* parameter) |
diff --git a/apps/plugin.h b/apps/plugin.h index 56a0ef6843..33112bb5d2 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -56,7 +56,7 @@ | |||
56 | #endif | 56 | #endif |
57 | 57 | ||
58 | /* increase this every time the api struct changes */ | 58 | /* increase this every time the api struct changes */ |
59 | #define PLUGIN_API_VERSION 15 | 59 | #define PLUGIN_API_VERSION 16 |
60 | 60 | ||
61 | /* update this to latest version if a change to the api struct breaks | 61 | /* update this to latest version if a change to the api struct breaks |
62 | backwards compatibility (and please take the opportunity to sort in any | 62 | backwards compatibility (and please take the opportunity to sort in any |
@@ -266,6 +266,7 @@ struct plugin_api { | |||
266 | #endif | 266 | #endif |
267 | #endif | 267 | #endif |
268 | int (*battery_level)(void); | 268 | int (*battery_level)(void); |
269 | int (*set_time)(struct tm *tm); | ||
269 | }; | 270 | }; |
270 | 271 | ||
271 | /* defined by the plugin loader (plugin.c) */ | 272 | /* defined by the plugin loader (plugin.c) */ |