summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index f133d325a5..8fd57d2b5a 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -90,7 +90,7 @@
90#endif 90#endif
91 91
92/* increase this every time the api struct changes */ 92/* increase this every time the api struct changes */
93#define PLUGIN_API_VERSION 51 93#define PLUGIN_API_VERSION 52
94 94
95/* update this to latest version if a change to the api struct breaks 95/* update this to latest version if a change to the api struct breaks
96 backwards compatibility (and please take the opportunity to sort in any 96 backwards compatibility (and please take the opportunity to sort in any
@@ -443,6 +443,8 @@ struct plugin_api {
443 void (*menu_draw)(int menu); 443 void (*menu_draw)(int menu);
444 void (*menu_insert)(int menu, int position, char *desc, bool (*function) (void)); 444 void (*menu_insert)(int menu, int position, char *desc, bool (*function) (void));
445 void (*menu_set_cursor)(int menu, int position); 445 void (*menu_set_cursor)(int menu, int position);
446
447 void (*screen_dump_set_hook)(void (*hook)(int fh));
446}; 448};
447 449
448int plugin_load(const char* plugin, void* parameter); 450int plugin_load(const char* plugin, void* parameter);