From d553bb1149800daf16dcb92bc0608fe6248e1dab Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 28 Jul 2020 10:58:34 -0400 Subject: 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 --- apps/plugin.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 */ -- cgit v1.2.3