//! # `DBus` interface proxy for: `org.a11y.atspi.Registry`
//!
//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
//! Source: `Registry.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 zbus::names::OwnedBusName;
#[zbus::proxy(
interface = "org.a11y.atspi.Registry",
default_service = "org.a11y.atspi.Registry",
default_path = "/org/a11y/atspi/registry"
)]
trait Registry {
/// DeregisterEvent method
fn deregister_event(&self, event: &str) -> zbus::Result<()>;
/// GetRegisteredEvents method
#[zbus(name = "GetRegisteredEvents")]
fn registered_events(&self) -> zbus::Result<Vec<(OwnedBusName, String)>>;
/// RegisterEvent method
fn register_event(&self, event: &str) -> zbus::Result<()>;
}