diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 850e7484d9..20df7e72f2 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -103,6 +103,7 @@ int plugin_open(const char *plugin, const char *parameter); | |||
103 | #include "buflib.h" | 103 | #include "buflib.h" |
104 | #include "buffering.h" | 104 | #include "buffering.h" |
105 | #include "tagcache.h" | 105 | #include "tagcache.h" |
106 | #include "tagtree.h" | ||
106 | #include "viewport.h" | 107 | #include "viewport.h" |
107 | #include "ata_idle_notify.h" | 108 | #include "ata_idle_notify.h" |
108 | #include "settings_list.h" | 109 | #include "settings_list.h" |
@@ -157,7 +158,7 @@ int plugin_open(const char *plugin, const char *parameter); | |||
157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 158 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
158 | 159 | ||
159 | /* increase this every time the api struct changes */ | 160 | /* increase this every time the api struct changes */ |
160 | #define PLUGIN_API_VERSION 263 | 161 | #define PLUGIN_API_VERSION 264 |
161 | 162 | ||
162 | /* update this to latest version if a change to the api struct breaks | 163 | /* update this to latest version if a change to the api struct breaks |
163 | backwards compatibility (and please take the opportunity to sort in any | 164 | backwards compatibility (and please take the opportunity to sort in any |
@@ -950,6 +951,9 @@ struct plugin_api { | |||
950 | void (*fix_path_part)(char* path, int offset, int count); | 951 | void (*fix_path_part)(char* path, int offset, int count); |
951 | void (*onplay_show_playlist_cat_menu)(const char* track_name, int attr, | 952 | void (*onplay_show_playlist_cat_menu)(const char* track_name, int attr, |
952 | void (*add_to_pl_cb)); | 953 | void (*add_to_pl_cb)); |
954 | #ifdef HAVE_TAGCACHE | ||
955 | bool (*tagtree_subentries_do_action)(bool (*action_cb)(const char *file_name)); | ||
956 | #endif | ||
953 | }; | 957 | }; |
954 | 958 | ||
955 | /* plugin header */ | 959 | /* plugin header */ |