summaryrefslogtreecommitdiffstats
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-10-21 11:06:30 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-10-21 11:06:30 +0000
commitcaff835d78449d92166a78abd7b0c2d2559e38f2 (patch)
tree80f01783ab8fa45826f5008a047341c088360dac /apps/tagcache.h
parent47cdc8955271f7c2bd0e73c8b5ed0436c9003a8a (diff)
downloadrockbox-caff835d78449d92166a78abd7b0c2d2559e38f2.tar.gz
rockbox-caff835d78449d92166a78abd7b0c2d2559e38f2.tar.bz2
rockbox-caff835d78449d92166a78abd7b0c2d2559e38f2.zip
Fixed debug menu crashing. Show last file processed by tagcache engine in debug menu. Enabled autoupdating of deleted files for flash storage devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15244 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index 118b4c4119..6b2df6b984 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -103,6 +103,10 @@ struct tagcache_stat {
int ramcache_used; /* How much ram has been really used */
int progress; /* Current progress of disk scan */
int processed_entries; /* Scanned disk entries so far */
+ volatile const char
+ *curentry; /* Path of the current entry being scanned. */
+ volatile bool syncscreen;/* Synchronous operation with debug screen? */
+ // const char *uimessage; /* Pending error message. Implement soon. */
};
struct tagcache_search_clause
@@ -184,6 +188,9 @@ int tagcache_get_commit_step(void);
bool tagcache_prepare_shutdown(void);
void tagcache_shutdown(void);
+void tagcache_screensync_event(void);
+void tagcache_screensync_enable(bool state);
+
#ifdef HAVE_TC_RAMCACHE
bool tagcache_is_ramcache(void);
bool tagcache_fill_tags(struct mp3entry *id3, const char *filename);