1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! # `DBus` interface proxy for: `org.a11y.atspi.DeviceEventListener`
//!
//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
//! Source: `DeviceEventListener.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
//!
//! More information can be found in the
//! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html)
//! section of the zbus documentation.
//!

use crate::device_event_controller::DeviceEvent;

#[zbus::proxy(interface = "org.a11y.atspi.DeviceEventListener", assume_defaults = true)]
trait DeviceEventListener {
	/// NotifyEvent method
	fn notify_event(&self, event: &DeviceEvent<'_>) -> zbus::Result<bool>;
}