atspi_proxies/
application.rs

1//! # `DBus` interface proxy for: `org.a11y.atspi.Application`
2//!
3//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
4//! Source: `Application.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
13use crate::atspi_proxy;
14
15#[atspi_proxy(interface = "org.a11y.atspi.Application", assume_defaults = true)]
16trait Application {
17	/// GetLocale method
18	fn get_locale(&self, lctype: u32) -> zbus::Result<String>;
19
20	/// AtspiVersion property
21	#[dbus_proxy(property)]
22	fn atspi_version(&self) -> zbus::Result<String>;
23
24	/// Id property
25	#[dbus_proxy(property)]
26	fn id(&self) -> zbus::Result<i32>;
27
28	/// Set ID property
29	#[dbus_proxy(property)]
30	fn set_id(&self, value: i32) -> zbus::Result<()>;
31
32	/// ToolkitName property
33	#[dbus_proxy(property)]
34	fn toolkit_name(&self) -> zbus::Result<String>;
35
36	/// Version property
37	#[dbus_proxy(property)]
38	fn version(&self) -> zbus::Result<String>;
39}