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::common::ObjectRef; |
14 | |
15 | #[zbus::proxy ( |
16 | interface = "org.a11y.atspi.Socket" , |
17 | default_path = "/org/a11y/atspi/accessible/root" , |
18 | default_service = "org.a11y.atspi.Registry" |
19 | )] |
20 | trait Socket { |
21 | /// Embed method |
22 | fn embed(&self, plug: &(&str, zbus::zvariant::ObjectPath<'_>)) -> zbus::Result<ObjectRef>; |
23 | |
24 | /// Unembed method |
25 | fn unembed(&self, plug: &(&str, zbus::zvariant::ObjectPath<'_>)) -> zbus::Result<()>; |
26 | } |
27 | |