
This one offers API to interract on a lower level with the D-Bus reservation API and uses GDBus high level bindings only. Also, this one implements the full Acquire procedure, calling RequestRelease() on the peer and requesting the name again with REPLACE_EXISTING
12 lines
375 B
Meson
12 lines
375 B
Meson
reserve_device_interface_src = gnome.gdbus_codegen('reserve-device-interface',
|
|
sources: 'org.freedesktop.ReserveDevice1.xml',
|
|
interface_prefix : 'org.freedesktop.ReserveDevice1.',
|
|
namespace : 'Wp'
|
|
)
|
|
|
|
reserve_device_enums = gnome.mkenums_simple('reserve-device-enums',
|
|
sources: [ 'plugin.h', 'reserve-device.h' ],
|
|
)
|
|
|
|
reserve_device_includes = include_directories('.')
|