atspi_proxies/
cache.rs

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::common::{CacheItem, LegacyCacheItem};
8
9#[zbus::proxy(interface = "org.a11y.atspi.Cache", default_path = "/org/a11y/atspi/cache")]
10pub 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}