use crate::common::ObjectRef;
#[zbus::proxy(interface = "org.a11y.atspi.Table", assume_defaults = true)]
trait Table {
fn add_column_selection(&self, column: i32) -> zbus::Result<bool>;
fn add_row_selection(&self, row: i32) -> zbus::Result<bool>;
fn get_accessible_at(&self, row: i32, column: i32) -> zbus::Result<ObjectRef>;
fn get_column_at_index(&self, index: i32) -> zbus::Result<i32>;
fn get_column_description(&self, column: i32) -> zbus::Result<String>;
fn get_column_extent_at(&self, row: i32, column: i32) -> zbus::Result<i32>;
fn get_column_header(&self, column: i32) -> zbus::Result<ObjectRef>;
fn get_index_at(&self, row: i32, column: i32) -> zbus::Result<i32>;
fn get_row_at_index(&self, index: i32) -> zbus::Result<i32>;
fn get_row_column_extents_at_index(
&self,
index: i32,
) -> zbus::Result<(bool, i32, i32, i32, i32, bool)>;
fn get_row_description(&self, row: i32) -> zbus::Result<String>;
fn get_row_extent_at(&self, row: i32, column: i32) -> zbus::Result<i32>;
fn get_row_header(&self, row: i32) -> zbus::Result<ObjectRef>;
fn get_selected_columns(&self) -> zbus::Result<Vec<i32>>;
fn get_selected_rows(&self) -> zbus::Result<Vec<i32>>;
fn is_column_selected(&self, column: i32) -> zbus::Result<bool>;
fn is_row_selected(&self, row: i32) -> zbus::Result<bool>;
fn is_selected(&self, row: i32, column: i32) -> zbus::Result<bool>;
fn remove_column_selection(&self, column: i32) -> zbus::Result<bool>;
fn remove_row_selection(&self, row: i32) -> zbus::Result<bool>;
#[zbus(property)]
fn caption(&self) -> zbus::Result<ObjectRef>;
#[zbus(property)]
fn ncolumns(&self) -> zbus::Result<i32>;
#[zbus(property)]
fn nrows(&self) -> zbus::Result<i32>;
#[zbus(property)]
fn nselected_columns(&self) -> zbus::Result<i32>;
#[zbus(property)]
fn nselected_rows(&self) -> zbus::Result<i32>;
#[zbus(property)]
fn summary(&self) -> zbus::Result<ObjectRef>;
}