forked from len0rd/rockbox
tagcache: Add menu entry for customizing the DB path
Allow the database path to be set from the file browser's "Set As" context menu, so it can be changed without editing the .cfg file by hand. Change-Id: Ie1a84bcb2084ee3b1a0a18cc51f564238515f164
This commit is contained in:
parent
ac1f92d9e8
commit
f026cc4e17
5 changed files with 47 additions and 0 deletions
|
@ -142,6 +142,12 @@
|
|||
(struct filename_setting[]){ \
|
||||
{prefix,suffix,sizeof(global_settings.var)}}} }
|
||||
|
||||
#define DIRECTORY_SETTING(flags,var,lang_id,name,default) \
|
||||
{flags|F_DIRNAME|F_T_UCHARPTR, &global_settings.var, lang_id, \
|
||||
CHARPTR(default), name, NULL, \
|
||||
{.filename_setting=(struct filename_setting[]){ \
|
||||
{NULL, NULL, sizeof(global_settings.var)}}}}
|
||||
|
||||
/* Used for settings which use the set_option() setting screen.
|
||||
The ... arg is a list of pointers to strings to display in the setting
|
||||
screen. These can either be literal strings, or ID2P(LANG_*) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue