use zbus::dbus_proxy;
#[dbus_proxy(interface = "org.a11y.atspi.Application", assume_defaults = true)]
trait Application {
fn deregister_event_listener(&self, event: &str) -> zbus::Result<()>;
fn get_locale(&self, lctype: u32) -> zbus::Result<String>;
fn register_event_listener(&self, event: &str) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn atspi_version(&self) -> zbus::Result<String>;
#[dbus_proxy(property)]
fn id(&self) -> zbus::Result<i32>;
#[dbus_proxy(property)]
fn set_id(&self, value: i32) -> zbus::Result<()>;
#[dbus_proxy(property)]
fn toolkit_name(&self) -> zbus::Result<String>;
#[dbus_proxy(property)]
fn version(&self) -> zbus::Result<String>;
}
use crate::{AtspiProxy, Interface};
impl<'a> AtspiProxy for ApplicationProxy<'a> {
const INTERFACE: Interface = Interface::Application;
}