mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 10:46:41 -04:00
job: Rename DBus interfaces Job and JobManager to Job1 and JobManager1
This commit is contained in:
parent
39ea3b0d41
commit
6a08ce823e
4 changed files with 20 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Job`
|
||||
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Job1`
|
||||
//!
|
||||
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
|
||||
//! Source: `com.steampowered.SteamOSManager1.xml`.
|
||||
|
@ -13,11 +13,11 @@
|
|||
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
|
||||
use zbus::proxy;
|
||||
#[proxy(
|
||||
interface = "com.steampowered.SteamOSManager1.Job",
|
||||
interface = "com.steampowered.SteamOSManager1.Job1",
|
||||
default_service = "com.steampowered.SteamOSManager1",
|
||||
assume_defaults = true
|
||||
)]
|
||||
trait Job {
|
||||
trait Job1 {
|
||||
/// Cancel method
|
||||
fn cancel(&self, force: bool) -> zbus::Result<()>;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.JobManager`
|
||||
//! # 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`.
|
||||
|
@ -13,12 +13,12 @@
|
|||
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
|
||||
use zbus::proxy;
|
||||
#[proxy(
|
||||
interface = "com.steampowered.SteamOSManager1.JobManager",
|
||||
interface = "com.steampowered.SteamOSManager1.JobManager1",
|
||||
default_service = "com.steampowered.SteamOSManager1",
|
||||
default_path = "/com/steampowered/SteamOSManager1/Jobs",
|
||||
assume_defaults = true
|
||||
)]
|
||||
trait JobManager {
|
||||
trait JobManager1 {
|
||||
/// JobStarted signal
|
||||
#[zbus(signal)]
|
||||
fn job_started(&self, job: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>;
|
|
@ -8,11 +8,11 @@
|
|||
// Re-export relevant proxies
|
||||
|
||||
// TODO Some of these should get renamed
|
||||
mod job;
|
||||
mod job_manager;
|
||||
mod job1;
|
||||
mod job_manager1;
|
||||
mod udev_events;
|
||||
pub use crate::proxy::job::JobProxy;
|
||||
pub use crate::proxy::job_manager::JobManagerProxy;
|
||||
pub use crate::proxy::job1::Job1Proxy;
|
||||
pub use crate::proxy::job_manager1::JobManager1Proxy;
|
||||
pub use crate::proxy::udev_events::UdevEventsProxy;
|
||||
|
||||
// Deprecated interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue