DatabasePlugin: add attribute "flags"

This commit is contained in:
Max Kellermann 2014-02-17 20:53:17 +01:00
parent 85b8675e7a
commit 9e36af7916
4 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,8 @@ class Database;
struct DatabasePlugin {
const char *name;
unsigned flags;
/**
* Allocates and configures a database.
*/

View File

@ -780,5 +780,6 @@ ProxyDatabase::GetStats(const DatabaseSelection &selection,
const DatabasePlugin proxy_db_plugin = {
"proxy",
0,
ProxyDatabase::Create,
};

View File

@ -337,5 +337,6 @@ SimpleDatabase::Save(Error &error)
const DatabasePlugin simple_db_plugin = {
"simple",
0,
SimpleDatabase::Create,
};

View File

@ -776,5 +776,6 @@ UpnpDatabase::GetStats(const DatabaseSelection &,
const DatabasePlugin upnp_db_plugin = {
"upnp",
0,
UpnpDatabase::Create,
};