Begin reimplement gex to use generated bindings and dbus xml

This commit is contained in:
Luke D. Jones
2023-06-28 21:54:17 +12:00
parent 439c830311
commit 4d2d5707a1
31 changed files with 2744 additions and 10 deletions

View File

@@ -18,6 +18,11 @@ impl SupportedFunctions {
pub fn supported_functions(&self) -> &rog_platform::supported::SupportedFunctions {
&self.0
}
#[dbus_interface(out_args("answer", "question"))]
fn meaning_of_life(&self) -> zbus::fdo::Result<(i32, String)> {
Ok((42, String::from("Meaning of life")))
}
}
#[async_trait]