Client: add method SetPartition()

This commit is contained in:
Max Kellermann 2017-02-25 10:25:16 +01:00
parent 3eee35e1f7
commit a99bab935a

View File

@ -192,6 +192,12 @@ public:
return *partition;
}
void SetPartition(Partition &new_partition) {
partition = &new_partition;
// TODO: set various idle flags?
}
gcc_pure
Instance &GetInstance();