Update the proxy to match the xml.

Depending when this lands we may need to do it again.
This commit is contained in:
Jeremy Whiting 2024-06-04 15:31:47 -06:00
parent 788cf884bf
commit 8c1baa152b

View file

@ -1,5 +1,5 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Manager` //! # 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. //! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`. //! Source: `com.steampowered.SteamOSManager1.xml`.
@ -40,7 +40,7 @@ trait Manager {
/// TrimDevices method /// TrimDevices method
fn trim_devices(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>; fn trim_devices(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
/// UpdateBIOS method /// UpdateBios method
fn update_bios(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>; fn update_bios(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
/// UpdateDock method /// UpdateDock method
@ -66,6 +66,12 @@ trait Manager {
#[zbus(property)] #[zbus(property)]
fn hardware_currently_supported(&self) -> zbus::Result<u32>; fn hardware_currently_supported(&self) -> zbus::Result<u32>;
/// HdmiCecState property
#[zbus(property)]
fn hdmi_cec_state(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn set_hdmi_cec_state(&self, value: u32) -> zbus::Result<()>;
/// ManualGpuClock property /// ManualGpuClock property
#[zbus(property)] #[zbus(property)]
fn manual_gpu_clock(&self) -> zbus::Result<u32>; fn manual_gpu_clock(&self) -> zbus::Result<u32>;
@ -113,12 +119,6 @@ trait Manager {
fn wifi_power_management_state(&self) -> zbus::Result<u32>; fn wifi_power_management_state(&self) -> zbus::Result<u32>;
#[zbus(property)] #[zbus(property)]
fn set_wifi_power_management_state(&self, value: u32) -> zbus::Result<()>; fn set_wifi_power_management_state(&self, value: u32) -> zbus::Result<()>;
/// HdmiCecState property
#[zbus(property)]
fn hdmi_cec_state(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn set_hdmi_cec_state(&self, value: u32) -> zbus::Result<()>;
} }
#[proxy( #[proxy(
@ -133,12 +133,12 @@ trait Job {
/// ExitCode method /// ExitCode method
fn exit_code(&self) -> zbus::Result<i32>; fn exit_code(&self) -> zbus::Result<i32>;
/// WaitForExitCode method
fn wait_for_exit_code(&self) -> zbus::Result<i32>;
/// Pause method /// Pause method
fn pause(&self) -> zbus::Result<()>; fn pause(&self) -> zbus::Result<()>;
/// Resume method /// Resume method
fn resume(&self) -> zbus::Result<()>; fn resume(&self) -> zbus::Result<()>;
/// Wait method
fn wait(&self) -> zbus::Result<i32>;
} }