mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 18:02:00 -04:00
proxy: Split out per-file and re-export relevant proxies
This commit is contained in:
parent
72e633e336
commit
428350b4c7
20 changed files with 575 additions and 62 deletions
38
src/proxy/wifi_debug1.rs
Normal file
38
src/proxy/wifi_debug1.rs
Normal file
|
@ -0,0 +1,38 @@
|
|||
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.WifiDebug1`
|
||||
//!
|
||||
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
|
||||
//! Source: `com.steampowered.SteamOSManager1.xml`.
|
||||
//!
|
||||
//! You may prefer to adapt it, instead of using it verbatim.
|
||||
//!
|
||||
//! More information can be found in the [Writing a client proxy] section of the zbus
|
||||
//! documentation.
|
||||
//!
|
||||
//!
|
||||
//! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html
|
||||
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
|
||||
use zbus::proxy;
|
||||
#[proxy(
|
||||
interface = "com.steampowered.SteamOSManager1.WifiDebug1",
|
||||
default_service = "com.steampowered.SteamOSManager1",
|
||||
default_path = "/com/steampowered/SteamOSManager1",
|
||||
assume_defaults = true
|
||||
)]
|
||||
trait WifiDebug1 {
|
||||
/// SetWifiDebugMode method
|
||||
fn set_wifi_debug_mode(
|
||||
&self,
|
||||
mode: u32,
|
||||
options: std::collections::HashMap<&str, &zbus::zvariant::Value<'_>>,
|
||||
) -> zbus::Result<()>;
|
||||
|
||||
/// WifiBackend property
|
||||
#[zbus(property)]
|
||||
fn wifi_backend(&self) -> zbus::Result<String>;
|
||||
#[zbus(property)]
|
||||
fn set_wifi_backend(&self, value: &str) -> zbus::Result<()>;
|
||||
|
||||
/// WifiDebugModeState property
|
||||
#[zbus(property)]
|
||||
fn wifi_debug_mode_state(&self) -> zbus::Result<u32>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue