manager/user: Expose device and variant info over DBus

This commit is contained in:
Vicki Pfau 2025-03-11 17:34:54 -07:00
parent b1dc04daa8
commit 2555b95258
4 changed files with 31 additions and 1 deletions

View file

@ -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)>;
}