aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifier.h')
-rw-r--r--src/notifier.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/notifier.h b/src/notifier.h
index 18e25d7..9625c07 100644
--- a/src/notifier.h
+++ b/src/notifier.h
@@ -23,6 +23,7 @@
#include <gio/gio.h>
#include "device.h"
+#include "sound-player.h"
G_BEGIN_DECLS
@@ -55,7 +56,7 @@ struct _IndicatorPowerNotifierClass
GType indicator_power_notifier_get_type (void);
-IndicatorPowerNotifier * indicator_power_notifier_new (void);
+IndicatorPowerNotifier * indicator_power_notifier_new (IndicatorPowerSoundPlayer * sound_player);
void indicator_power_notifier_set_bus (IndicatorPowerNotifier * self,
GDBusConnection * connection);
@@ -63,6 +64,9 @@ void indicator_power_notifier_set_bus (IndicatorPowerNotifier * self,
void indicator_power_notifier_set_battery (IndicatorPowerNotifier * self,
IndicatorPowerDevice * battery);
+void indicator_power_notifier_set_sound_player (IndicatorPowerNotifier * self,
+ IndicatorPowerSoundPlayer * battery);
+
#define POWER_LEVEL_STR_OK "ok"
#define POWER_LEVEL_STR_LOW "low"
#define POWER_LEVEL_STR_VERY_LOW "very_low"