DatabasePlugin: add attribute "flags"
This commit is contained in:
parent
85b8675e7a
commit
9e36af7916
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user