aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-shared.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-30 10:52:30 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-07-30 10:52:30 +0000
commitb4f91b1d69a66c2d3e97feeed357243ddfda451f (patch)
tree90e88aefae6fc2eeb49ad4afed75b1f8d2788e6a /src/dbus-shared.h
parent967a5479db7d280255f669102f045076e09420d8 (diff)
parentb46ec7d0cc35d10197a1a91f473e0a655188f6eb (diff)
downloadayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.gz
ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.bz2
ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.zip
Add low-battery notifications. Fixes: 1317858, 1317860
Approved by: PS Jenkins bot, Lars Uebernickel
Diffstat (limited to 'src/dbus-shared.h')
-rw-r--r--src/dbus-shared.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/dbus-shared.h b/src/dbus-shared.h
new file mode 100644
index 0000000..bf54034
--- /dev/null
+++ b/src/dbus-shared.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2014 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 3, as published
+ * by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranties of
+ * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Charles Kerr <charles.kerr@canonical.com>
+ * Ted Gould <ted@canonical.com>
+ */
+
+#ifndef DBUS_SHARED_H
+#define DBUS_SHARED_H
+
+#define BUS_NAME "com.canonical.indicator.power"
+#define BUS_PATH "/com/canonical/indicator/power"
+
+#endif /* DBUS_SHARED_H */
+