Commit 9e36af79 authored by Max Kellermann's avatar Max Kellermann

DatabasePlugin: add attribute "flags"

parent 85b8675e
......@@ -35,6 +35,8 @@ class Database;
struct DatabasePlugin {
const char *name;
unsigned flags;
/**
* Allocates and configures a database.
*/
......
......@@ -780,5 +780,6 @@ ProxyDatabase::GetStats(const DatabaseSelection &selection,
const DatabasePlugin proxy_db_plugin = {
"proxy",
0,
ProxyDatabase::Create,
};
......@@ -337,5 +337,6 @@ SimpleDatabase::Save(Error &error)
const DatabasePlugin simple_db_plugin = {
"simple",
0,
SimpleDatabase::Create,
};
......@@ -776,5 +776,6 @@ UpnpDatabase::GetStats(const DatabaseSelection &,
const DatabasePlugin upnp_db_plugin = {
"upnp",
0,
UpnpDatabase::Create,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment