From 7a2f20032e272b97f7c8de819a961ca2e60e77ae Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Fri, 22 Mar 2024 15:50:32 -0400 Subject: [PATCH] dbus: Simplify the dbus interface Change most of our get/set methods for properties, as these encompass both operations and additionally provide a change signal. Additionally expose whether each of the features is supported. This allows steam to detect when certain options should be hidden in the UI if the feature is unsupported. Also surface supported ranges for operations that take int params, e.g. TDPLimit min/max values. --- com.steampowered.SteamOSManager1.xml | 367 ++++++++++++++++++--------- 1 file changed, 248 insertions(+), 119 deletions(-) diff --git a/com.steampowered.SteamOSManager1.xml b/com.steampowered.SteamOSManager1.xml index 3f5e5d8..58bfac0 100644 --- a/com.steampowered.SteamOSManager1.xml +++ b/com.steampowered.SteamOSManager1.xml @@ -5,6 +5,8 @@ @@ -13,163 +15,274 @@ com.steampowered.SteamOSManager1 @short_description: Interface to control various aspects of SteamOS --> - + - - + + - - - + - - - - + - - - + - - - + - - - + @descriptor: A unix file descriptor that can be written to to set ALS integration time. + Will be null if unable to open file or other error occurred. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -177,15 +290,31 @@ - - + + + + +