aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-23 22:56:36 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-23 22:56:36 -0500
commit909ccbc93d9fa21075cf5001887e69159e621f5d (patch)
tree1b5a563cf352c80d8be943fc421b41bb5259bf6a /include/datetime
parente94fa94e3d8d3d7a9630d3e6fa94b78525ae4345 (diff)
downloadayatana-indicator-datetime-909ccbc93d9fa21075cf5001887e69159e621f5d.tar.gz
ayatana-indicator-datetime-909ccbc93d9fa21075cf5001887e69159e621f5d.tar.bz2
ayatana-indicator-datetime-909ccbc93d9fa21075cf5001887e69159e621f5d.zip
move the powerd and screen bus name, path, and interface strings into dbus-shared
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/dbus-shared.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/datetime/dbus-shared.h b/include/datetime/dbus-shared.h
index c5ff6ab..4b71ce5 100644
--- a/include/datetime/dbus-shared.h
+++ b/include/datetime/dbus-shared.h
@@ -18,8 +18,18 @@
* Charles Kerr <charles.kerr@canonical.com>
*/
+#ifndef _DBUS_SHARED_H_
+#define _DBUS_SHARED_H_
-#define BUS_NAME "com.canonical.indicator.datetime"
+#define BUS_DATETIME_NAME "com.canonical.indicator.datetime"
+#define BUS_DATETIME_PATH "/com/canonical/indicator/datetime"
-#define BUS_PATH "/com/canonical/indicator/datetime"
+#define BUS_SCREEN_NAME "com.canonical.Unity.Screen"
+#define BUS_SCREEN_PATH "/com/canonical/Unity/Screen"
+#define BUS_SCREEN_INTERFACE "com.canonical.Unity.Screen"
+#define BUS_POWERD_NAME "com.canonical.powerd"
+#define BUS_POWERD_PATH "/com/canonical/powerd"
+#define BUS_POWERD_INTERFACE "com.canonical.powerd"
+
+#endif /* _DBUS_SHARED_H_ */