aboutsummaryrefslogtreecommitdiff
path: root/include/notifications
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-31 15:22:47 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-31 15:22:47 -0500
commitaf1b645de9b8116ead5ad72583f51afe28350818 (patch)
treee29afbeb9d49e0072317f41cdf6e4cadf4009a42 /include/notifications
parent0c8faf27ea83c3996c68b0ab02c0b4ed824b4129 (diff)
downloadayatana-indicator-datetime-af1b645de9b8116ead5ad72583f51afe28350818.tar.gz
ayatana-indicator-datetime-af1b645de9b8116ead5ad72583f51afe28350818.tar.bz2
ayatana-indicator-datetime-af1b645de9b8116ead5ad72583f51afe28350818.zip
drop the ubuntu-application-api middleman and call usensorsd directly: ua_sensors_haptic_new() crashes on desktop and ua_sensors_haptic_vibrate_once() makes blocking dbus calls.
Diffstat (limited to 'include/notifications')
-rw-r--r--include/notifications/dbus-shared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/notifications/dbus-shared.h b/include/notifications/dbus-shared.h
index 7738cb7..af714e7 100644
--- a/include/notifications/dbus-shared.h
+++ b/include/notifications/dbus-shared.h
@@ -29,4 +29,8 @@
#define BUS_POWERD_PATH "/com/canonical/powerd"
#define BUS_POWERD_INTERFACE "com.canonical.powerd"
+#define BUS_HAPTIC_NAME "com.canonical.usensord"
+#define BUS_HAPTIC_PATH "/com/canonical/usensord/haptic"
+#define BUS_HAPTIC_INTERFACE "com.canonical.usensord.haptic"
+
#endif /* INDICATOR_NOTIFICATIONS_DBUS_SHARED_H */