1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! # `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::atspi_proxy;
use crate::device_event_controller::DeviceEvent;

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