~ken-vandine/ubuntu-system-settings/slotslayout

« back to all changes in this revision

Viewing changes to plugins/bluetooth/dbus-shared.h

merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define DBUS_ADAPTER_AGENT_PATH "/com/canonical/SettingsBluetoothAgent/adapteragent"
25
25
#define DBUS_AGENT_CAPABILITY "KeyboardDisplay"
26
26
 
 
27
#define BLUEZ_SERVICE "org.bluez"
 
28
 
 
29
#define BLUEZ_ADAPTER_IFACE "org.bluez.Adapter1"
 
30
#define BLUEZ_DEVICE_IFACE "org.bluez.Device1"
 
31
 
 
32
#define watchCall(call, func) \
 
33
    QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(call, this); \
 
34
    QObject::connect(watcher, &QDBusPendingCallWatcher::finished, func)
 
35
 
27
36
#endif // USS_DBUS_SHARED_H