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)
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);
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 239
+#define PLUGIN_API_VERSION 240
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -930,6 +930,11 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+
+#ifdef HAVE_TAGCACHE
+ struct tagcache_stat* (*tagcache_get_stat)(void);
+#endif
+
};
/* plugin header */