aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Configured.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-21config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann1-4/+5
The old struct config_param remains only for top-level string options.
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann1-2/+2
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann1-1/+1
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-03-01fs/StandardDirectory: add GetUserCacheDir()Max Kellermann1-15/+4
Move code from CreateConfiguredDatabase() and add XDG support. This implements an automatic Linux fallback for the setting "db_file" if none was specified.
2014-03-01db/Configured: store database file in cache directoryMax Kellermann1-1/+25
Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
2014-02-19db/Interface: add attribute "plugin"Max Kellermann1-2/+2
The new method IsPlugin() replaces the "is_simple" flag.
2014-02-17Main: initialize Database before StorageMax Kellermann1-13/+1
2014-02-17db/Configured: disallow both "db_file" and "database"Max Kellermann1-3/+7
This is misconfiguration, and MPD should abort.
2014-02-17Main: move code to db/Configured.cxxMax Kellermann1-0/+67