summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-07-01 17:29:44 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-07-01 17:29:44 +0000
commitc735ed79142a0260fc05d58cb0672e5d1720a26a (patch)
tree3fd67eb9fb598e9b8bc0c3003ec3bf037379ebb4 /apps/plugin.h
parent4ec80704d5f34a167d45db7539f47b12cc23c59e (diff)
downloadrockbox-c735ed79142a0260fc05d58cb0672e5d1720a26a.tar.gz
rockbox-c735ed79142a0260fc05d58cb0672e5d1720a26a.zip
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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 0010d6d3a0..3f3ed327ac 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -87,7 +87,7 @@
87#endif 87#endif
88 88
89/* increase this every time the api struct changes */ 89/* increase this every time the api struct changes */
90#define PLUGIN_API_VERSION 42 90#define PLUGIN_API_VERSION 44
91 91
92/* update this to latest version if a change to the api struct breaks 92/* update this to latest version if a change to the api struct breaks
93 backwards compatibility (and please take the opportunity to sort in any 93 backwards compatibility (and please take the opportunity to sort in any
@@ -399,6 +399,9 @@ struct plugin_api {
399#ifdef ROCKBOX_HAS_LOGF 399#ifdef ROCKBOX_HAS_LOGF
400 void (*logf)(const char *fmt, ...); 400 void (*logf)(const char *fmt, ...);
401#endif 401#endif
402 struct rundb_header *rundbheader;
403 int *rundb_fd;
404 int *rundb_initialized;
402 int (*strncmp)(const char *, const char *, size_t); 405 int (*strncmp)(const char *, const char *, size_t);
403}; 406};
404 407