summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-03-07 19:56:15 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-03-07 19:56:15 +0000
commit8137489e2b967e40c15005c8a4c09903a8a24fc4 (patch)
tree752564abdbe09360dcc97da686d3e45f244578a2 /apps/tagcache.c
parent99b2742cd0de7181677f3aa7222caa5dc358ee12 (diff)
downloadrockbox-8137489e2b967e40c15005c8a4c09903a8a24fc4.tar.gz
rockbox-8137489e2b967e40c15005c8a4c09903a8a24fc4.zip
Lead user through database initialisation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12678 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index bcff803d18..a899ff91fd 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -3904,16 +3904,12 @@ bool tagcache_update(void)
3904 return false; 3904 return false;
3905 3905
3906 queue_post(&tagcache_queue, Q_UPDATE, 0); 3906 queue_post(&tagcache_queue, Q_UPDATE, 0);
3907 gui_syncsplash(HZ*2, true, str(LANG_TAGCACHE_FORCE_UPDATE_SPLASH));
3908
3909 return false; 3907 return false;
3910} 3908}
3911 3909
3912bool tagcache_rebuild(void) 3910bool tagcache_rebuild()
3913{ 3911{
3914 queue_post(&tagcache_queue, Q_REBUILD, 0); 3912 queue_post(&tagcache_queue, Q_REBUILD, 0);
3915 gui_syncsplash(HZ*2, true, str(LANG_TAGCACHE_FORCE_UPDATE_SPLASH));
3916
3917 return false; 3913 return false;
3918} 3914}
3919 3915
@@ -3974,4 +3970,8 @@ int tagcache_get_commit_step(void)
3974{ 3970{
3975 return tc_stat.commit_step; 3971 return tc_stat.commit_step;
3976} 3972}
3973int tagcache_get_max_commit_step(void)
3974{
3975 return 8; /* To be written, better hard-coded here than in the UI */
3976}
3977 3977