summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 28c3d5a5a5..38d96f3751 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -96,6 +96,8 @@ void* plugin_get_buffer(size_t *buffer_size);
96#include "lcd-remote.h" 96#include "lcd-remote.h"
97#endif 97#endif
98 98
99#include "yesno.h"
100
99#ifdef PLUGIN 101#ifdef PLUGIN
100 102
101#if defined(DEBUG) || defined(SIMULATOR) 103#if defined(DEBUG) || defined(SIMULATOR)
@@ -126,7 +128,7 @@ void* plugin_get_buffer(size_t *buffer_size);
126#define PLUGIN_MAGIC 0x526F634B /* RocK */ 128#define PLUGIN_MAGIC 0x526F634B /* RocK */
127 129
128/* increase this every time the api struct changes */ 130/* increase this every time the api struct changes */
129#define PLUGIN_API_VERSION 118 131#define PLUGIN_API_VERSION 119
130 132
131/* update this to latest version if a change to the api struct breaks 133/* update this to latest version if a change to the api struct breaks
132 backwards compatibility (and please take the opportunity to sort in any 134 backwards compatibility (and please take the opportunity to sort in any
@@ -757,6 +759,10 @@ struct plugin_api {
757 long (*tagcache_get_numeric)(const struct tagcache_search *tcs, int tag); 759 long (*tagcache_get_numeric)(const struct tagcache_search *tcs, int tag);
758#endif 760#endif
759 761
762 enum yesno_res (*gui_syncyesno_run)(const struct text_message * main_message,
763 const struct text_message * yes_message,
764 const struct text_message * no_message);
765
760}; 766};
761 767
762/* plugin header */ 768/* plugin header */