From 8c1baa152b9a855de7ded0587f9a1c5afa9b05d3 Mon Sep 17 00:00:00 2001 From: Jeremy Whiting Date: Tue, 4 Jun 2024 15:31:47 -0600 Subject: [PATCH] Update the proxy to match the xml. Depending when this lands we may need to do it again. --- src/proxy.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/proxy.rs b/src/proxy.rs index 5e096bf..c9be1df 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -1,5 +1,5 @@ //! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Manager` -//! and `com.steampowered.SteamOSManager1.Subprocess` +//! and `com.steampowered.SteamOSManager1.Job` //! //! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data. //! Source: `com.steampowered.SteamOSManager1.xml`. @@ -40,7 +40,7 @@ trait Manager { /// TrimDevices method fn trim_devices(&self) -> zbus::Result; - /// UpdateBIOS method + /// UpdateBios method fn update_bios(&self) -> zbus::Result; /// UpdateDock method @@ -66,6 +66,12 @@ trait Manager { #[zbus(property)] fn hardware_currently_supported(&self) -> zbus::Result; + /// HdmiCecState property + #[zbus(property)] + fn hdmi_cec_state(&self) -> zbus::Result; + #[zbus(property)] + fn set_hdmi_cec_state(&self, value: u32) -> zbus::Result<()>; + /// ManualGpuClock property #[zbus(property)] fn manual_gpu_clock(&self) -> zbus::Result; @@ -113,12 +119,6 @@ trait Manager { fn wifi_power_management_state(&self) -> zbus::Result; #[zbus(property)] fn set_wifi_power_management_state(&self, value: u32) -> zbus::Result<()>; - - /// HdmiCecState property - #[zbus(property)] - fn hdmi_cec_state(&self) -> zbus::Result; - #[zbus(property)] - fn set_hdmi_cec_state(&self, value: u32) -> zbus::Result<()>; } #[proxy( @@ -133,12 +133,12 @@ trait Job { /// ExitCode method fn exit_code(&self) -> zbus::Result; - /// WaitForExitCode method - fn wait_for_exit_code(&self) -> zbus::Result; - /// Pause method fn pause(&self) -> zbus::Result<()>; /// Resume method fn resume(&self) -> zbus::Result<()>; + + /// Wait method + fn wait(&self) -> zbus::Result; }