| 1 | //! # `DBus` interface proxy for: `org.a11y.atspi.Cache` |
| 2 | //! |
| 3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
| 4 | //! Source: `Cache.xml`. |
| 5 | //! |
| 6 | |
| 7 | use crate::common::{CacheItem, LegacyCacheItem}; |
| 8 | |
| 9 | #[zbus::proxy (interface = "org.a11y.atspi.Cache" , default_path = "/org/a11y/atspi/cache" )] |
| 10 | trait Cache { |
| 11 | /// GetItems method |
| 12 | fn get_items(&self) -> zbus::Result<Vec<CacheItem>>; |
| 13 | |
| 14 | /// GetItems method to support legacy servers (presumably Qt based applications and at-spi2-registryd) |
| 15 | #[zbus(name = "GetItems" )] |
| 16 | fn get_legacy_items(&self) -> zbus::Result<Vec<LegacyCacheItem>>; |
| 17 | } |
| 18 | |