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( #[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem.Messaging", interface = "org.freedesktop.ModemManager1.Modem.Messaging",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true assume_defaults = true
)] )]
trait Messaging { trait Messaging {
@ -50,6 +51,7 @@ trait Messaging {
#[dbus_proxy( #[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem", interface = "org.freedesktop.ModemManager1.Modem",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true assume_defaults = true
)] )]
trait Modem { trait Modem {
@ -245,6 +247,7 @@ trait Modem {
#[dbus_proxy( #[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem.Simple", interface = "org.freedesktop.ModemManager1.Modem.Simple",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true assume_defaults = true
)] )]
trait Simple { trait Simple {
@ -265,6 +268,7 @@ trait Simple {
#[dbus_proxy( #[dbus_proxy(
interface = "org.freedesktop.ModemManager1.Modem.Voice", interface = "org.freedesktop.ModemManager1.Modem.Voice",
default_service = "org.freedesktop.ModemManager1",
assume_defaults = true assume_defaults = true
)] )]
trait Voice { trait Voice {