From c735ed79142a0260fc05d58cb0672e5d1720a26a Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Fri, 1 Jul 2005 17:29:44 +0000 Subject: First runtime database support, self repairing, only playcount works for now, which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 0010d6d..3f3ed32 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -87,7 +87,7 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 42 +#define PLUGIN_API_VERSION 44 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -399,6 +399,9 @@ struct plugin_api { #ifdef ROCKBOX_HAS_LOGF void (*logf)(const char *fmt, ...); #endif + struct rundb_header *rundbheader; + int *rundb_fd; + int *rundb_initialized; int (*strncmp)(const char *, const char *, size_t); }; -- cgit v1.1