mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 10:46:41 -04:00
manager/user: Expose device and variant info over DBus
This commit is contained in:
parent
b1dc04daa8
commit
2555b95258
4 changed files with 31 additions and 1 deletions
|
@ -21,4 +21,8 @@ use zbus::proxy;
|
|||
pub trait Manager2 {
|
||||
/// ReloadConfig method
|
||||
fn reload_config(&self) -> zbus::Result<()>;
|
||||
|
||||
/// DeviceModel property
|
||||
#[zbus(property)]
|
||||
fn device_model(&self) -> zbus::Result<(String, String)>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue