summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-07-28 10:58:34 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-08-16 10:35:57 -0400
commitd553bb1149800daf16dcb92bc0608fe6248e1dab (patch)
tree86cdcf361ef387a3d624485d1e6c6e062d7ce85b /apps/plugin.h
parent94eb1df58b4ad4e25941782832d20e1c8d57f0c5 (diff)
downloadrockbox-d553bb1149800daf16dcb92bc0608fe6248e1dab.tar.gz
rockbox-d553bb1149800daf16dcb92bc0608fe6248e1dab.zip
root_menu move tag cache init check to pictureflow plugin
let pictureflow decide if the tag cache is ready instead of core Change-Id: I2ab9b375d773dbbc28ea41fbf7bb6fb361ace8fd
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index ee21291192..2585d17205 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -154,7 +154,7 @@ void* plugin_get_buffer(size_t *buffer_size);
154#define PLUGIN_MAGIC 0x526F634B /* RocK */ 154#define PLUGIN_MAGIC 0x526F634B /* RocK */
155 155
156/* increase this every time the api struct changes */ 156/* increase this every time the api struct changes */
157#define PLUGIN_API_VERSION 239 157#define PLUGIN_API_VERSION 240
158 158
159/* update this to latest version if a change to the api struct breaks 159/* update this to latest version if a change to the api struct breaks
160 backwards compatibility (and please take the opportunity to sort in any 160 backwards compatibility (and please take the opportunity to sort in any
@@ -930,6 +930,11 @@ struct plugin_api {
930 930
931 /* new stuff at the end, sort into place next time 931 /* new stuff at the end, sort into place next time
932 the API gets incompatible */ 932 the API gets incompatible */
933
934#ifdef HAVE_TAGCACHE
935 struct tagcache_stat* (*tagcache_get_stat)(void);
936#endif
937
933}; 938};
934 939
935/* plugin header */ 940/* plugin header */