Skip to content

Commit

Permalink
Use Action struct in proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
TTWNO committed Jun 27, 2024
1 parent 6d5e946 commit 6d89105
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion atspi-proxies/src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
//! [TextProxy]: crate::text::TextProxy
//! [ValueProxy]: crate::value::ValueProxy

use atspi_common::Action;

/// A handle for a remote object implementing the `org.a11y.atspi.Action`
/// interface.
///
Expand Down Expand Up @@ -60,7 +62,7 @@ trait Action {
/// [`get_key_binding`]: ActionProxy#method.get_key_binding
/// [`get_localized_name`]: ActionProxy#method.get_localized_name
/// [`get_description`]: ActionProxy#method.get_description
fn get_actions(&self) -> zbus::Result<Vec<(String, String, String)>>;
fn get_actions(&self) -> zbus::Result<Vec<Action>>;

/// Returns the localized description for the action at the specified
/// index, starting at zero.
Expand Down

0 comments on commit 6d89105

Please sign in to comment.