use zbus::dbus_proxy;
#[dbus_proxy(interface = "org.a11y.atspi.EditableText", assume_defaults = true)]
trait EditableText {
fn copy_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<()>;
fn cut_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>;
fn delete_text(&self, start_pos: i32, end_pos: i32) -> zbus::Result<bool>;
fn insert_text(&self, position: i32, text: &str, length: i32) -> zbus::Result<bool>;
fn paste_text(&self, position: i32) -> zbus::Result<bool>;
fn set_text_contents(&self, new_contents: &str) -> zbus::Result<bool>;
}
use crate::{AtspiProxy, Interface};
impl<'a> AtspiProxy for EditableTextProxy<'a> {
const INTERFACE: Interface = Interface::EditableText;
}