aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Configured.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config/Option: convert to strictly-typed enumMax Kellermann2015-01-211-2/+2
|
* ConfigData: move struct config_param to Param.hxxMax Kellermann2015-01-211-1/+1
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* fs/StandardDirectory: add GetUserCacheDir()Max Kellermann2014-03-011-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.
* db/Configured: store database file in cache directoryMax Kellermann2014-03-011-1/+25
| | | | | Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
* db/Interface: add attribute "plugin"Max Kellermann2014-02-191-2/+2
| | | | The new method IsPlugin() replaces the "is_simple" flag.
* Main: initialize Database before StorageMax Kellermann2014-02-171-13/+1
|
* db/Configured: disallow both "db_file" and "database"Max Kellermann2014-02-171-3/+7
| | | | This is misconfiguration, and MPD should abort.
* Main: move code to db/Configured.cxxMax Kellermann2014-02-171-0/+67