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`
//! 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<zbus::zvariant::OwnedObjectPath>;
/// UpdateBIOS method
/// UpdateBios method
fn update_bios(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
/// UpdateDock method
@ -66,6 +66,12 @@ trait Manager {
#[zbus(property)]
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
#[zbus(property)]
fn manual_gpu_clock(&self) -> zbus::Result<u32>;
@ -113,12 +119,6 @@ trait Manager {
fn wifi_power_management_state(&self) -> zbus::Result<u32>;
#[zbus(property)]
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(
@ -133,12 +133,12 @@ trait Job {
/// ExitCode method
fn exit_code(&self) -> zbus::Result<i32>;
/// WaitForExitCode method
fn wait_for_exit_code(&self) -> zbus::Result<i32>;
/// Pause method
fn pause(&self) -> zbus::Result<()>;
/// Resume method
fn resume(&self) -> zbus::Result<()>;
/// Wait method
fn wait(&self) -> zbus::Result<i32>;
}