summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-05-28 04:14:56 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-05-28 04:14:56 +0000
commit34589f6ccb19f2689255226fd8ee5fc612d5e632 (patch)
treeb0371fcf92cd2579df65fc5160202277aaf90880 /apps/plugin.h
parentdda7580f8a1778e805bb22cd083fa5aea51fe62f (diff)
downloadrockbox-34589f6ccb19f2689255226fd8ee5fc612d5e632.zip
rockbox-34589f6ccb19f2689255226fd8ee5fc612d5e632.tar.gz
rockbox-34589f6ccb19f2689255226fd8ee5fc612d5e632.tar.bz2
rockbox-34589f6ccb19f2689255226fd8ee5fc612d5e632.tar.xz
Suggested by Thomas Martitz, use tagcache_fill_tags to speed up PictureFlow album art search a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21110 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 8ec0f19..56d3f42 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -128,7 +128,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 152
+#define PLUGIN_API_VERSION 153
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -810,6 +810,9 @@ struct plugin_api {
#ifdef HAVE_TOUCHSCREEN
int (*action_get_touchscreen_press)(short *x, short *y);
#endif
+#if defined(HAVE_TAGCACHE) && defined(HAVE_TC_RAMCACHE)
+ bool (*tagcache_fill_tags)(struct mp3entry *id3, const char *filename);
+#endif
};
/* plugin header */