diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 5ec0174c52..5146e18139 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -112,12 +112,12 @@ | |||
112 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 112 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
113 | 113 | ||
114 | /* increase this every time the api struct changes */ | 114 | /* increase this every time the api struct changes */ |
115 | #define PLUGIN_API_VERSION 67 | 115 | #define PLUGIN_API_VERSION 68 |
116 | 116 | ||
117 | /* update this to latest version if a change to the api struct breaks | 117 | /* update this to latest version if a change to the api struct breaks |
118 | backwards compatibility (and please take the opportunity to sort in any | 118 | backwards compatibility (and please take the opportunity to sort in any |
119 | new function which are "waiting" at the end of the function table) */ | 119 | new function which are "waiting" at the end of the function table) */ |
120 | #define PLUGIN_MIN_API_VERSION 65 | 120 | #define PLUGIN_MIN_API_VERSION 68 |
121 | 121 | ||
122 | /* plugin return codes */ | 122 | /* plugin return codes */ |
123 | enum plugin_status { | 123 | enum plugin_status { |
@@ -549,6 +549,9 @@ struct plugin_api { | |||
549 | int (*kbd_input)(char* buffer, int buflen); | 549 | int (*kbd_input)(char* buffer, int buflen); |
550 | struct tm* (*get_time)(void); | 550 | struct tm* (*get_time)(void); |
551 | int (*set_time)(const struct tm *tm); | 551 | int (*set_time)(const struct tm *tm); |
552 | #if CONFIG_RTC | ||
553 | time_t (*mktime)(struct tm *t); | ||
554 | #endif | ||
552 | void* (*plugin_get_buffer)(size_t *buffer_size); | 555 | void* (*plugin_get_buffer)(size_t *buffer_size); |
553 | void* (*plugin_get_audio_buffer)(size_t *buffer_size); | 556 | void* (*plugin_get_audio_buffer)(size_t *buffer_size); |
554 | void (*plugin_tsr)(bool (*exit_callback)(bool reenter)); | 557 | void (*plugin_tsr)(bool (*exit_callback)(bool reenter)); |