| 1 | //! # `DBus` interface proxy for: `org.a11y.atspi.DeviceEventListener` |
| 2 | //! |
| 3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
| 4 | //! Source: `DeviceEventListener.xml`. |
| 5 | //! |
| 6 | //! You may prefer to adapt it, instead of using it verbatim. |
| 7 | //! |
| 8 | //! More information can be found in the |
| 9 | //! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html) |
| 10 | //! section of the zbus documentation. |
| 11 | //! |
| 12 | |
| 13 | use crate::device_event_controller::DeviceEvent; |
| 14 | |
| 15 | #[zbus::proxy (interface = "org.a11y.atspi.DeviceEventListener" , assume_defaults = true)] |
| 16 | trait DeviceEventListener { |
| 17 | /// NotifyEvent method |
| 18 | fn notify_event(&self, event: &DeviceEvent<'_>) -> zbus::Result<bool>; |
| 19 | } |
| 20 | |