aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Configured.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
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