summaryrefslogtreecommitdiffstats
path: root/src/dbus/dbus_minimal_p.h
diff options
context:
space:
mode:
authorWeng Xuetian <wengxt@gmail.com>2016-03-03 21:56:53 -0800
committerThiago Macieira <thiago.macieira@intel.com>2016-04-28 05:38:10 +0000
commit9be4ee52021bbb3227611979319ab5e3106063b2 (patch)
tree63914720d6abe52ebd27a290713fee6a3d9e3c4f /src/dbus/dbus_minimal_p.h
parent8a7311532ba331252d87cbcc08ea676f106242e9 (diff)
QtDBus: finish all pending call with error if disconnected
libdbus will send a local signal if connection gets disconnected. When this happens, end all pending calls with QDBusError::Disconnected. Task-number: QTBUG-51649 Change-Id: I5c7d2a468bb5da746d0c0e53e458c1e376f186a9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/dbus_minimal_p.h')
-rw-r--r--src/dbus/dbus_minimal_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus/dbus_minimal_p.h b/src/dbus/dbus_minimal_p.h
index f0a29540c8..8f25b24c61 100644
--- a/src/dbus/dbus_minimal_p.h
+++ b/src/dbus/dbus_minimal_p.h
@@ -99,9 +99,11 @@ typedef dbus_uint32_t dbus_bool_t;
/* dbus-shared.h */
#define DBUS_SERVICE_DBUS "org.freedesktop.DBus"
#define DBUS_PATH_DBUS "/org/freedesktop/DBus"
+#define DBUS_PATH_LOCAL "/org/freedesktop/DBus/Local"
#define DBUS_INTERFACE_DBUS "org.freedesktop.DBus"
#define DBUS_INTERFACE_INTROSPECTABLE "org.freedesktop.DBus.Introspectable"
#define DBUS_INTERFACE_PROPERTIES "org.freedesktop.DBus.Properties"
+#define DBUS_INTERFACE_LOCAL "org.freedesktop.DBus.Local"
#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1 /**< Allow another service to become the primary owner if requested */
#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2 /**< Request to replace the current primary owner */