modem/introspect: Change default service for the dbus traits

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-07-10 19:33:13 +02:00
parent 4bf5204ad4
commit 106d867634

View file

@ -12,6 +12,7 @@ use zbus::dbus_proxy;
#[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem.Messaging",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true
)]
trait Messaging {
@ -50,6 +51,7 @@ trait Messaging {
#[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true
)]
trait Modem {
@ -245,6 +247,7 @@ trait Modem {
#[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem.Simple",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true
)]
trait Simple {
@ -265,6 +268,7 @@ trait Simple {
#[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem.Voice",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true
)]
trait Voice {