libmm-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties |
MmGdbusObject; struct MmGdbusObjectIface; MmGdbusModem * mm_gdbus_object_peek_modem (MmGdbusObject *object
); MmGdbusModem * mm_gdbus_object_get_modem (MmGdbusObject *object
); MmGdbusModem3gpp * mm_gdbus_object_peek_modem3gpp (MmGdbusObject *object
); MmGdbusModem3gpp * mm_gdbus_object_get_modem3gpp (MmGdbusObject *object
); MmGdbusModem3gppUssd * mm_gdbus_object_peek_modem3gpp_ussd (MmGdbusObject *object
); MmGdbusModem3gppUssd * mm_gdbus_object_get_modem3gpp_ussd (MmGdbusObject *object
); MmGdbusModemCdma * mm_gdbus_object_peek_modem_cdma (MmGdbusObject *object
); MmGdbusModemCdma * mm_gdbus_object_get_modem_cdma (MmGdbusObject *object
); MmGdbusModemLocation * mm_gdbus_object_peek_modem_location (MmGdbusObject *object
); MmGdbusModemLocation * mm_gdbus_object_get_modem_location (MmGdbusObject *object
); MmGdbusModemMessaging * mm_gdbus_object_peek_modem_messaging (MmGdbusObject *object
); MmGdbusModemMessaging * mm_gdbus_object_get_modem_messaging (MmGdbusObject *object
); MmGdbusModemTime * mm_gdbus_object_peek_modem_time (MmGdbusObject *object
); MmGdbusModemTime * mm_gdbus_object_get_modem_time (MmGdbusObject *object
); MmGdbusModemFirmware * mm_gdbus_object_peek_modem_firmware (MmGdbusObject *object
); MmGdbusModemFirmware * mm_gdbus_object_get_modem_firmware (MmGdbusObject *object
); MmGdbusModemOma * mm_gdbus_object_peek_modem_oma (MmGdbusObject *object
); MmGdbusModemOma * mm_gdbus_object_get_modem_oma (MmGdbusObject *object
); MmGdbusModemSimple * mm_gdbus_object_peek_modem_simple (MmGdbusObject *object
); MmGdbusModemSimple * mm_gdbus_object_get_modem_simple (MmGdbusObject *object
); MmGdbusModemSignal * mm_gdbus_object_peek_modem_signal (MmGdbusObject *object
); MmGdbusModemSignal * mm_gdbus_object_get_modem_signal (MmGdbusObject *object
);
MmGdbusObject is implemented by MMObject, MmGdbusObjectProxy and MmGdbusObjectSkeleton.
"modem" MmGdbusModem* : Read / Write "modem-cdma" MmGdbusModemCdma* : Read / Write "modem-firmware" MmGdbusModemFirmware* : Read / Write "modem-location" MmGdbusModemLocation* : Read / Write "modem-messaging" MmGdbusModemMessaging* : Read / Write "modem-oma" MmGdbusModemOma* : Read / Write "modem-signal" MmGdbusModemSignal* : Read / Write "modem-simple" MmGdbusModemSimple* : Read / Write "modem-time" MmGdbusModemTime* : Read / Write "modem3gpp" MmGdbusModem3gpp* : Read / Write "modem3gpp-ussd" MmGdbusModem3gppUssd* : Read / Write
This section contains the MmGdbusObject, MmGdbusObjectProxy, and MmGdbusObjectSkeleton types which make it easier to work with objects implementing generated types for D-Bus interfaces.
typedef struct _MmGdbusObject MmGdbusObject;
The MmGdbusObject type is a specialized container of interfaces.
struct MmGdbusObjectIface { GTypeInterface parent_iface; };
Virtual table for the MmGdbusObject interface.
GTypeInterface |
The parent interface. |
MmGdbusModem * mm_gdbus_object_peek_modem (MmGdbusObject *object
);
Like mm_gdbus_object_get_modem()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModem or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModem * mm_gdbus_object_get_modem (MmGdbusObject *object
);
Gets the MmGdbusModem instance for the D-Bus interface org.freedesktop.ModemManager1.Modem on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModem that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModem3gpp * mm_gdbus_object_peek_modem3gpp (MmGdbusObject *object
);
Like mm_gdbus_object_get_modem3gpp()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModem3gpp or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModem3gpp * mm_gdbus_object_get_modem3gpp (MmGdbusObject *object
);
Gets the MmGdbusModem3gpp instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModem3gpp that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModem3gppUssd * mm_gdbus_object_peek_modem3gpp_ussd
(MmGdbusObject *object
);
Like mm_gdbus_object_get_modem3gpp_ussd()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModem3gppUssd or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModem3gppUssd * mm_gdbus_object_get_modem3gpp_ussd
(MmGdbusObject *object
);
Gets the MmGdbusModem3gppUssd instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModem3gppUssd that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemCdma * mm_gdbus_object_peek_modem_cdma (MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_cdma()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemCdma or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemCdma * mm_gdbus_object_get_modem_cdma (MmGdbusObject *object
);
Gets the MmGdbusModemCdma instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.ModemCdma on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemCdma that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemLocation * mm_gdbus_object_peek_modem_location
(MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_location()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemLocation or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemLocation * mm_gdbus_object_get_modem_location
(MmGdbusObject *object
);
Gets the MmGdbusModemLocation instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Location on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemLocation that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemMessaging * mm_gdbus_object_peek_modem_messaging
(MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_messaging()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemMessaging or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemMessaging * mm_gdbus_object_get_modem_messaging
(MmGdbusObject *object
);
Gets the MmGdbusModemMessaging instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Messaging on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemMessaging that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemTime * mm_gdbus_object_peek_modem_time (MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_time()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemTime or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemTime * mm_gdbus_object_get_modem_time (MmGdbusObject *object
);
Gets the MmGdbusModemTime instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Time on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemTime that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemFirmware * mm_gdbus_object_peek_modem_firmware
(MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_firmware()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemFirmware or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemFirmware * mm_gdbus_object_get_modem_firmware
(MmGdbusObject *object
);
Gets the MmGdbusModemFirmware instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Firmware on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemFirmware that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemOma * mm_gdbus_object_peek_modem_oma (MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_oma()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemOma or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemOma * mm_gdbus_object_get_modem_oma (MmGdbusObject *object
);
Gets the MmGdbusModemOma instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Oma on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemOma that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemSimple * mm_gdbus_object_peek_modem_simple (MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_simple()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemSimple or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemSimple * mm_gdbus_object_get_modem_simple (MmGdbusObject *object
);
Gets the MmGdbusModemSimple instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Simple on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemSimple that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
MmGdbusModemSignal * mm_gdbus_object_peek_modem_signal (MmGdbusObject *object
);
Like mm_gdbus_object_get_modem_signal()
but doesn't increase the reference count on the returned object.
object
is running.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemSignal or NULL if object does not implement the interface. Do not free the returned object, it is owned by object . [transfer none]
|
MmGdbusModemSignal * mm_gdbus_object_get_modem_signal (MmGdbusObject *object
);
Gets the MmGdbusModemSignal instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Signal on object
, if any.
|
A MmGdbusObject. |
Returns : |
A MmGdbusModemSignal that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]
|
"modem"
property"modem" MmGdbusModem* : Read / Write
The MmGdbusModem instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-cdma"
property"modem-cdma" MmGdbusModemCdma* : Read / Write
The MmGdbusModemCdma instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.ModemCdma, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-firmware"
property"modem-firmware" MmGdbusModemFirmware* : Read / Write
The MmGdbusModemFirmware instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Firmware, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-location"
property"modem-location" MmGdbusModemLocation* : Read / Write
The MmGdbusModemLocation instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Location, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-messaging"
property"modem-messaging" MmGdbusModemMessaging* : Read / Write
The MmGdbusModemMessaging instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Messaging, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-oma"
property"modem-oma" MmGdbusModemOma* : Read / Write
The MmGdbusModemOma instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Oma, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-signal"
property"modem-signal" MmGdbusModemSignal* : Read / Write
The MmGdbusModemSignal instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Signal, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-simple"
property"modem-simple" MmGdbusModemSimple* : Read / Write
The MmGdbusModemSimple instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Simple, if any.
Connect to the "notify" signal to get informed of property changes.
"modem-time"
property"modem-time" MmGdbusModemTime* : Read / Write
The MmGdbusModemTime instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Time, if any.
Connect to the "notify" signal to get informed of property changes.
"modem3gpp"
property"modem3gpp" MmGdbusModem3gpp* : Read / Write
The MmGdbusModem3gpp instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp, if any.
Connect to the "notify" signal to get informed of property changes.
"modem3gpp-ussd"
property"modem3gpp-ussd" MmGdbusModem3gppUssd* : Read / Write
The MmGdbusModem3gppUssd instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd, if any.
Connect to the "notify" signal to get informed of property changes.