From 45dfe2a36f03d1ada7036dedb50fb98d7c5421b2 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sat, 15 Jul 2006 17:36:25 +0000 Subject: Initial runtimedb support for tagcache. Only for developers, statistical data will be lost in future until changelogs has been implemented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10217 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index f3cae84743..f00612a180 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -1545,6 +1545,16 @@ static bool tagcache_autoupdate(void) return rc; } +static bool tagcache_runtimedb(void) +{ + bool rc = set_bool_options(str(LANG_RUNTIMEDB_ACTIVE), + &global_settings.runtimedb, + STR(LANG_ON), + STR(LANG_OFF), + NULL); + return rc; +} + static bool tagcache_settings_menu(void) { int m; @@ -1557,6 +1567,7 @@ static bool tagcache_settings_menu(void) { ID2P(LANG_TAGCACHE_AUTOUPDATE), tagcache_autoupdate }, { ID2P(LANG_TAGCACHE_FORCE_UPDATE), tagcache_rebuild }, { ID2P(LANG_TAGCACHE_UPDATE), tagcache_update }, + { ID2P(LANG_RUNTIMEDB_ACTIVE), tagcache_runtimedb }, }; m=menu_init( items, sizeof(items) / sizeof(*items), NULL, -- cgit v1.2.3