1//! # `DBus` interface proxy for: `org.a11y.atspi.Action`
2//!
3//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
4//! Source: `Action.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.Action", assume_defaults = true)]
16trait Action {
17 /// DoAction method
18 fn do_action(&self, index: i32) -> zbus::Result<bool>;
19
20 /// GetActions method
21 fn get_actions(&self) -> zbus::Result<Vec<(String, String, String)>>;
22
23 /// GetDescription method
24 fn get_description(&self, index: i32) -> zbus::Result<String>;
25
26 /// GetKeyBinding method
27 fn get_key_binding(&self, index: i32) -> zbus::Result<String>;
28
29 /// GetLocalizedName method
30 fn get_localized_name(&self, index: i32) -> zbus::Result<String>;
31
32 /// GetName method
33 fn get_name(&self, index: i32) -> zbus::Result<String>;
34
35 /// NActions property
36 #[dbus_proxy(property)]
37 fn nactions(&self) -> zbus::Result<i32>;
38}
39