VNOX-Client/patches/atspi-proxies/src/value.rs
loki5512344 8e5ab56611
feat(client): redesign native UI, themes, settings and avatars
Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
2026-10-24 14:23:48 +02:00

38 lines
1.1 KiB
Rust
Vendored

//! # `DBus` interface proxy for: `org.a11y.atspi.Value`
//!
//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
//! Source: `Value.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
//!
//! More information can be found in the
//! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html)
//! section of the zbus documentation.
//!
#[zbus::proxy(interface = "org.a11y.atspi.Value", assume_defaults = true)]
pub trait Value {
/// `CurrentValue` property
#[zbus(property)]
fn current_value(&self) -> zbus::Result<f64>;
/// Set `CurrentValue` property
#[zbus(property)]
fn set_current_value(&self, value: f64) -> zbus::Result<()>;
/// `MaximumValue` property
#[zbus(property)]
fn maximum_value(&self) -> zbus::Result<f64>;
/// `MinimumIncrement` property
#[zbus(property)]
fn minimum_increment(&self) -> zbus::Result<f64>;
/// `MinimumValue` property
#[zbus(property)]
fn minimum_value(&self) -> zbus::Result<f64>;
/// `Text` property
#[zbus(property)]
fn text(&self) -> zbus::Result<String>;
}