aboutsummaryrefslogtreecommitdiffstats
path: root/src/Instance.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-29 20:16:43 +0100
committerMax Kellermann <max@duempel.org>2014-01-30 18:47:05 +0100
commitc6725884bc155da431889468c86c546f0f64f9a1 (patch)
tree61d89751ecc98db9600620ac1788f32dea9214e1 /src/Instance.hxx
parenta31738f6f1473f4f621bc16513ed0c6024749389 (diff)
downloadmpd-c6725884bc155da431889468c86c546f0f64f9a1.tar.gz
mpd-c6725884bc155da431889468c86c546f0f64f9a1.tar.xz
mpd-c6725884bc155da431889468c86c546f0f64f9a1.zip
db/update: convert to OO API
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r--src/Instance.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx
index a14719839..d67ff9a51 100644
--- a/src/Instance.hxx
+++ b/src/Instance.hxx
@@ -29,6 +29,7 @@
class NeighborGlue;
#endif
+class UpdateService;
class ClientList;
struct Partition;
@@ -42,6 +43,8 @@ struct Instance final
NeighborGlue *neighbors;
#endif
+ UpdateService *update;
+
ClientList *client_list;
Partition *partition;