| 1 | //! # `DBus` interface proxy for: `org.a11y.atspi.Hypertext` |
| 2 | //! |
| 3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
| 4 | //! Source: `Hypertext.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 | use crate::common::ObjectRef; |
| 14 | |
| 15 | #[zbus::proxy (interface = "org.a11y.atspi.Hypertext" , assume_defaults = true)] |
| 16 | trait Hypertext { |
| 17 | /// GetLink method |
| 18 | fn get_link(&self, link_index: i32) -> zbus::Result<ObjectRef>; |
| 19 | |
| 20 | /// GetLinkIndex method |
| 21 | fn get_link_index(&self, character_index: i32) -> zbus::Result<i32>; |
| 22 | |
| 23 | /// GetNLinks method |
| 24 | fn get_nlinks(&self) -> zbus::Result<i32>; |
| 25 | } |
| 26 | |