diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-25 10:25:16 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-25 10:25:16 +0100 |
commit | a99bab935adc5ab82c3d8882047e50d6dad4502c (patch) | |
tree | 000d0a7fa2b3d8d5b4f710295dd0ea8eb4562a8f | |
parent | 3eee35e1f73470deb8575555b5a6bfb5717bb3b9 (diff) |
Client: add method SetPartition()
-rw-r--r-- | src/client/Client.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/Client.hxx b/src/client/Client.hxx index f526c8a93..67cd1cfe0 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -192,6 +192,12 @@ public: return *partition; } + void SetPartition(Partition &new_partition) { + partition = &new_partition; + + // TODO: set various idle flags? + } + gcc_pure Instance &GetInstance(); |