| 1 | //! # `DBus` interface proxy for: `org.a11y.atspi.Image` |
| 2 | //! |
| 3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
| 4 | //! Source: `Image.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::CoordType; |
| 14 | |
| 15 | #[zbus::proxy (interface = "org.a11y.atspi.Image" , assume_defaults = true)] |
| 16 | trait Image { |
| 17 | /// GetImageExtents method |
| 18 | fn get_image_extents(&self, coord_type: CoordType) -> zbus::Result<(i32, i32, i32, i32)>; |
| 19 | |
| 20 | /// GetImagePosition method |
| 21 | fn get_image_position(&self, coord_type: CoordType) -> zbus::Result<(i32, i32)>; |
| 22 | |
| 23 | /// GetImageSize method |
| 24 | fn get_image_size(&self) -> zbus::Result<(i32, i32)>; |
| 25 | |
| 26 | /// ImageDescription property |
| 27 | #[zbus(property)] |
| 28 | fn image_description(&self) -> zbus::Result<String>; |
| 29 | |
| 30 | /// ImageLocale property |
| 31 | #[zbus(property)] |
| 32 | fn image_locale(&self) -> zbus::Result<String>; |
| 33 | } |
| 34 | |