manager/user: Rename GpuTdpLimit1 to TdpLimit1

This commit is contained in:
Vicki Pfau 2024-08-27 19:51:14 -07:00
parent 6815b7d695
commit 2d4647a918
5 changed files with 77 additions and 78 deletions

View file

@ -26,10 +26,10 @@ mod factory_reset1;
mod fan_control1;
mod gpu_performance_level1;
mod gpu_power_profile1;
mod gpu_tdp_limit1;
mod hdmi_cec1;
mod manager2;
mod storage1;
mod tdp_limit1;
mod update_bios1;
mod update_dock1;
mod wifi_debug1;
@ -40,10 +40,10 @@ pub use crate::proxy::factory_reset1::FactoryReset1Proxy;
pub use crate::proxy::fan_control1::FanControl1Proxy;
pub use crate::proxy::gpu_performance_level1::GpuPerformanceLevel1Proxy;
pub use crate::proxy::gpu_power_profile1::GpuPowerProfile1Proxy;
pub use crate::proxy::gpu_tdp_limit1::GpuTdpLimit1Proxy;
pub use crate::proxy::hdmi_cec1::HdmiCec1Proxy;
pub use crate::proxy::manager2::Manager2Proxy;
pub use crate::proxy::storage1::Storage1Proxy;
pub use crate::proxy::tdp_limit1::TdpLimit1Proxy;
pub use crate::proxy::update_bios1::UpdateBios1Proxy;
pub use crate::proxy::update_dock1::UpdateDock1Proxy;
pub use crate::proxy::wifi_debug1::WifiDebug1Proxy;

View file

@ -1,4 +1,4 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.GpuTdpLimit1`
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.TdpLimit1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
@ -13,12 +13,12 @@
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
use zbus::proxy;
#[proxy(
interface = "com.steampowered.SteamOSManager1.GpuTdpLimit1",
interface = "com.steampowered.SteamOSManager1.TdpLimit1",
default_service = "com.steampowered.SteamOSManager1",
default_path = "/com/steampowered/SteamOSManager1",
assume_defaults = true
)]
trait GpuTdpLimit1 {
trait TdpLimit1 {
/// TdpLimit property
#[zbus(property)]
fn tdp_limit(&self) -> zbus::Result<u32>;