diff options
author | Max Kellermann <max@duempel.org> | 2014-02-17 20:53:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-19 23:24:15 +0100 |
commit | 9e36af791615eb8adcaee956808421271cb1ddff (patch) | |
tree | 280b71eb3bcced4d03b80809ed51e17b159fb7b6 /src/db | |
parent | 85b8675e7a11a81bda4b4328e19e433768048911 (diff) | |
download | mpd-9e36af791615eb8adcaee956808421271cb1ddff.tar.gz mpd-9e36af791615eb8adcaee956808421271cb1ddff.tar.xz mpd-9e36af791615eb8adcaee956808421271cb1ddff.zip |
DatabasePlugin: add attribute "flags"
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/DatabasePlugin.hxx | 2 | ||||
-rw-r--r-- | src/db/plugins/ProxyDatabasePlugin.cxx | 1 | ||||
-rw-r--r-- | src/db/plugins/SimpleDatabasePlugin.cxx | 1 | ||||
-rw-r--r-- | src/db/plugins/UpnpDatabasePlugin.cxx | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/src/db/DatabasePlugin.hxx b/src/db/DatabasePlugin.hxx index ba6cd1f08..7655d8e2d 100644 --- a/src/db/DatabasePlugin.hxx +++ b/src/db/DatabasePlugin.hxx @@ -35,6 +35,8 @@ class Database; struct DatabasePlugin { const char *name; + unsigned flags; + /** * Allocates and configures a database. */ diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx index 035ded8c3..824c1af46 100644 --- a/src/db/plugins/ProxyDatabasePlugin.cxx +++ b/src/db/plugins/ProxyDatabasePlugin.cxx @@ -780,5 +780,6 @@ ProxyDatabase::GetStats(const DatabaseSelection &selection, const DatabasePlugin proxy_db_plugin = { "proxy", + 0, ProxyDatabase::Create, }; diff --git a/src/db/plugins/SimpleDatabasePlugin.cxx b/src/db/plugins/SimpleDatabasePlugin.cxx index 9d8966158..8632fa5af 100644 --- a/src/db/plugins/SimpleDatabasePlugin.cxx +++ b/src/db/plugins/SimpleDatabasePlugin.cxx @@ -337,5 +337,6 @@ SimpleDatabase::Save(Error &error) const DatabasePlugin simple_db_plugin = { "simple", + 0, SimpleDatabase::Create, }; diff --git a/src/db/plugins/UpnpDatabasePlugin.cxx b/src/db/plugins/UpnpDatabasePlugin.cxx index 9348d3297..0bdcd4206 100644 --- a/src/db/plugins/UpnpDatabasePlugin.cxx +++ b/src/db/plugins/UpnpDatabasePlugin.cxx @@ -776,5 +776,6 @@ UpnpDatabase::GetStats(const DatabaseSelection &, const DatabasePlugin upnp_db_plugin = { "upnp", + 0, UpnpDatabase::Create, }; |