summaryrefslogtreecommitdiff
path: root/src/client/Client.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-02-25 10:00:05 +0100
committerMax Kellermann <max@musicpd.org>2017-02-25 10:20:05 +0100
commit05b8ddac4c9318bd8f9851d0e5a58edd7eb9f340 (patch)
treeaa7c6e232e26117c3b218b7ae2eff8b447cbc206 /src/client/Client.cxx
parent668724de4e94c3191f0f593ba261c91d076728fc (diff)
Client: add method GetInstance()
Diffstat (limited to 'src/client/Client.cxx')
-rw-r--r--src/client/Client.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/Client.cxx b/src/client/Client.cxx
index 58a27b896..7b22bc350 100644
--- a/src/client/Client.cxx
+++ b/src/client/Client.cxx
@@ -25,6 +25,12 @@
const Domain client_domain("client");
+Instance &
+Client::GetInstance()
+{
+ return partition.instance;
+}
+
playlist &
Client::GetPlaylist()
{