summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 286ca4087f..7c35902248 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -45,6 +45,7 @@
45#include "mpeg.h" 45#include "mpeg.h"
46#include "audio.h" 46#include "audio.h"
47#include "mp3_playback.h" 47#include "mp3_playback.h"
48#include "tree.h"
48#ifdef RB_PROFILE 49#ifdef RB_PROFILE
49#include "profile.h" 50#include "profile.h"
50#endif 51#endif
@@ -97,7 +98,7 @@
97#define PLUGIN_MAGIC 0x526F634B /* RocK */ 98#define PLUGIN_MAGIC 0x526F634B /* RocK */
98 99
99/* increase this every time the api struct changes */ 100/* increase this every time the api struct changes */
100#define PLUGIN_API_VERSION 7 101#define PLUGIN_API_VERSION 8
101 102
102/* update this to latest version if a change to the api struct breaks 103/* update this to latest version if a change to the api struct breaks
103 backwards compatibility (and please take the opportunity to sort in any 104 backwards compatibility (and please take the opportunity to sort in any
@@ -466,7 +467,9 @@ struct plugin_api {
466 467
467 /* new stuff at the end, sort into place next time 468 /* new stuff at the end, sort into place next time
468 the API gets incompatible */ 469 the API gets incompatible */
469 470
471 struct tree_context* (*tree_get_context)(void);
472
470}; 473};
471 474
472/* plugin header */ 475/* plugin header */