aboutsummaryrefslogtreecommitdiffstats
path: root/pulse.h
diff options
context:
space:
mode:
Diffstat (limited to 'pulse.h')
-rw-r--r--pulse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pulse.h b/pulse.h
index 632fbb8..e0b2bd3 100644
--- a/pulse.h
+++ b/pulse.h
@@ -1,5 +1,7 @@
#pragma once
+#include "notify.h"
+
// C
#include <string.h>
@@ -219,6 +221,8 @@ class PulseClient {
balance_range_ = { min, max };
}
+ void EnableNotifications(Notifier* notifier);
+
private:
void mainloop_iterate(pa_operation* op);
template<class T> T* find_fuzzy(vector<T>& haystack, const string& needle);
@@ -244,6 +248,7 @@ class PulseClient {
ServerInfo defaults_;
Range<int> volume_range_;
Range<int> balance_range_;
+ unique_ptr<Notifier> notifier_;
};
// vim: set et ts=2 sw=2: