use zbus::dbus_proxy;
use crate::CoordType;
#[dbus_proxy(interface = "org.a11y.atspi.Image", assume_defaults = true)]
trait Image {
fn get_image_extents(&self, coord_type: CoordType) -> zbus::Result<(i32, i32, i32, i32)>;
fn get_image_position(&self, coord_type: CoordType) -> zbus::Result<(i32, i32)>;
fn get_image_size(&self) -> zbus::Result<(i32, i32)>;
#[dbus_proxy(property)]
fn image_description(&self) -> zbus::Result<String>;
#[dbus_proxy(property)]
fn image_locale(&self) -> zbus::Result<String>;
}
use crate::{AtspiProxy, Interface};
impl<'a> AtspiProxy for ImageProxy<'a> {
const INTERFACE: Interface = Interface::Image;
}