util/BindMethod: new utility class for callbacks

Replaces the old BoundMethod template.
This commit is contained in:
Max Kellermann
2016-06-17 17:00:05 +02:00
parent bdd0c3686d
commit 863f4d8366
8 changed files with 206 additions and 92 deletions

View File

@@ -44,7 +44,7 @@ struct Partition final : QueueListener, PlayerListener, MixerListener {
Instance &instance;
CallbackMaskMonitor<Partition> global_events;
MaskMonitor global_events;
struct playlist playlist;