diff options
| author | Michiel Van Der Kolk <not.valid@email.address> | 2005-07-01 17:29:44 +0000 |
|---|---|---|
| committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-07-01 17:29:44 +0000 |
| commit | c735ed79142a0260fc05d58cb0672e5d1720a26a (patch) | |
| tree | 3fd67eb9fb598e9b8bc0c3003ec3bf037379ebb4 /apps/plugin.h | |
| parent | 4ec80704d5f34a167d45db7539f47b12cc23c59e (diff) | |
| download | rockbox-c735ed79142a0260fc05d58cb0672e5d1720a26a.zip rockbox-c735ed79142a0260fc05d58cb0672e5d1720a26a.tar.gz rockbox-c735ed79142a0260fc05d58cb0672e5d1720a26a.tar.bz2 rockbox-c735ed79142a0260fc05d58cb0672e5d1720a26a.tar.xz | |
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
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); }; |