1 | //! # `DBus` interface proxy for: `org.a11y.atspi.Socket` |
2 | //! |
3 | //! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data. |
4 | //! Source: `Socket.xml`. |
5 | //! |
6 | //! You may prefer to adapt it, instead of using it verbatim. |
7 | //! |
8 | //! More information can be found in the |
9 | //! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html) |
10 | //! section of the zbus documentation. |
11 | //! |
12 | |
13 | use crate::atspi_proxy ; |
14 | use crate::common::Accessible; |
15 | |
16 | #[atspi_proxy ( |
17 | interface = "org.a11y.atspi.Socket" , |
18 | default_path = "/org/a11y/atspi/accessible/root" , |
19 | default_service = "org.a11y.atspi.Registry" |
20 | )] |
21 | trait Socket { |
22 | /// Embed method |
23 | fn embed(&self, plug: &(&str, zbus::zvariant::ObjectPath<'_>)) -> zbus::Result<Accessible>; |
24 | |
25 | /// Unembed method |
26 | fn unembed(&self, plug: &(&str, zbus::zvariant::ObjectPath<'_>)) -> zbus::Result<()>; |
27 | } |
28 | |