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
7use crate::atspi_proxy;
8use crate::common::{CacheItem, LegacyCacheItem};
9
10#[atspi_proxy(interface = "org.a11y.atspi.Cache", default_path = "/org/a11y/atspi/cache")]
11trait Cache {
12 /// GetItems method
13 fn get_items(&self) -> zbus::Result<Vec<CacheItem>>;
14
15 /// GetItems method to support legacy servers (presumably Qt based applications and at-spi2-registryd)
16 #[dbus_proxy(name = "GetItems")]
17 fn get_legacy_items(&self) -> zbus::Result<Vec<LegacyCacheItem>>;
18}
19