aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-21 00:50:24 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-21 00:50:24 -0500
commitb08f9b096f956b528ad974a30828a809b827efef (patch)
tree656289e55e8ed415bc552fa99904e240c30744ec /src/notifier.h
parent6ea2db56307d04ac8dba4bcf929cd716f4840359 (diff)
downloadayatana-indicator-power-b08f9b096f956b528ad974a30828a809b827efef.tar.gz
ayatana-indicator-power-b08f9b096f956b528ad974a30828a809b827efef.tar.bz2
ayatana-indicator-power-b08f9b096f956b528ad974a30828a809b827efef.zip
second draft of low battery power notifications, still a work in progress
Diffstat (limited to 'src/notifier.h')
-rw-r--r--src/notifier.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notifier.h b/src/notifier.h
index e8dfaab..c224b29 100644
--- a/src/notifier.h
+++ b/src/notifier.h
@@ -22,6 +22,7 @@
#include <glib.h>
#include <glib-object.h>
+#include <gio/gio.h> /* GDBusConnection */
#include "device-provider.h"
@@ -59,6 +60,9 @@ GType indicator_power_notifier_get_type (void);
IndicatorPowerNotifier * indicator_power_notifier_new (IndicatorPowerDeviceProvider * provider);
+void indicator_power_notifier_set_bus (IndicatorPowerNotifier * self,
+ GDBusConnection * connection);
+
void indicator_power_notifier_set_device_provider (IndicatorPowerNotifier * self,
IndicatorPowerDeviceProvider * provider);