1 | //! # `DBus` interface proxy for: `org.a11y.atspi.Document` |
2 | //! |
3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
4 | //! Source: `Document.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 | #[zbus::proxy (interface = "org.a11y.atspi.Document" , assume_defaults = true)] |
14 | trait Document { |
15 | /// GetAttributeValue method |
16 | fn get_attribute_value(&self, attributename: &str) -> zbus::Result<String>; |
17 | |
18 | /// GetAttributes method |
19 | fn get_attributes(&self) -> zbus::Result<std::collections::HashMap<String, String>>; |
20 | |
21 | /// GetLocale method |
22 | fn get_locale(&self) -> zbus::Result<String>; |
23 | |
24 | /// CurrentPageNumber property |
25 | #[zbus(property)] |
26 | fn current_page_number(&self) -> zbus::Result<i32>; |
27 | |
28 | /// PageCount property |
29 | #[zbus(property)] |
30 | fn page_count(&self) -> zbus::Result<i32>; |
31 | } |
32 | |