atspi-proxies 0.13.0

AT-SPI2 proxies to query or manipulate UI objects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # `DBus` interface proxy for: `org.a11y.atspi.Cache`
//!
//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
//! Source: `Cache.xml`.
//!

use crate::common::{CacheItem, LegacyCacheItem};

#[zbus::proxy(interface = "org.a11y.atspi.Cache", default_path = "/org/a11y/atspi/cache")]
pub trait Cache {
	/// `GetItems` method
	fn get_items(&self) -> zbus::Result<Vec<CacheItem>>;

	/// `GetItems` method to support legacy servers (old Qt-based applications and old AT-SPI
	/// registry daemons)
	#[zbus(name = "GetItems")]
	fn get_legacy_items(&self) -> zbus::Result<Vec<LegacyCacheItem>>;
}