job: Rename DBus interfaces Job and JobManager to Job1 and JobManager1

This commit is contained in:
Vicki Pfau 2024-08-27 19:43:57 -07:00
parent 39ea3b0d41
commit 6a08ce823e
4 changed files with 20 additions and 21 deletions

25
src/proxy/job_manager1.rs Normal file
View file

@ -0,0 +1,25 @@
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.JobManager1`
//!
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
//! Source: `com.steampowered.SteamOSManager1.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
//!
//! More information can be found in the [Writing a client proxy] section of the zbus
//! documentation.
//!
//!
//! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
use zbus::proxy;
#[proxy(
interface = "com.steampowered.SteamOSManager1.JobManager1",
default_service = "com.steampowered.SteamOSManager1",
default_path = "/com/steampowered/SteamOSManager1/Jobs",
assume_defaults = true
)]
trait JobManager1 {
/// JobStarted signal
#[zbus(signal)]
fn job_started(&self, job: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
}