diff options
Diffstat (limited to 'libmm-glib/generated/mm-gdbus-modem.h')
-rw-r--r-- | libmm-glib/generated/mm-gdbus-modem.h | 330 |
1 files changed, 7 insertions, 323 deletions
diff --git a/libmm-glib/generated/mm-gdbus-modem.h b/libmm-glib/generated/mm-gdbus-modem.h index 4545c82..3c80357 100644 --- a/libmm-glib/generated/mm-gdbus-modem.h +++ b/libmm-glib/generated/mm-gdbus-modem.h @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.36.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.36.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ @@ -112,6 +112,8 @@ struct _MmGdbusModemIface const gchar * (*get_plugin) (MmGdbusModem *object); + GVariant * (*get_ports) (MmGdbusModem *object); + guint (*get_power_state) (MmGdbusModem *object); const gchar * (*get_primary_port) (MmGdbusModem *object); @@ -466,6 +468,10 @@ const gchar *mm_gdbus_modem_get_primary_port (MmGdbusModem *object); gchar *mm_gdbus_modem_dup_primary_port (MmGdbusModem *object); void mm_gdbus_modem_set_primary_port (MmGdbusModem *object, const gchar *value); +GVariant *mm_gdbus_modem_get_ports (MmGdbusModem *object); +GVariant *mm_gdbus_modem_dup_ports (MmGdbusModem *object); +void mm_gdbus_modem_set_ports (MmGdbusModem *object, GVariant *value); + const gchar *mm_gdbus_modem_get_equipment_identifier (MmGdbusModem *object); gchar *mm_gdbus_modem_dup_equipment_identifier (MmGdbusModem *object); void mm_gdbus_modem_set_equipment_identifier (MmGdbusModem *object, const gchar *value); @@ -1424,325 +1430,6 @@ MmGdbusModemFirmware *mm_gdbus_modem_firmware_skeleton_new (void); /* ------------------------------------------------------------------------ */ -/* Declarations for org.freedesktop.ModemManager1.Modem.Contacts */ - -#define MM_GDBUS_TYPE_MODEM_CONTACTS (mm_gdbus_modem_contacts_get_type ()) -#define MM_GDBUS_MODEM_CONTACTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MM_GDBUS_TYPE_MODEM_CONTACTS, MmGdbusModemContacts)) -#define MM_GDBUS_IS_MODEM_CONTACTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MM_GDBUS_TYPE_MODEM_CONTACTS)) -#define MM_GDBUS_MODEM_CONTACTS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), MM_GDBUS_TYPE_MODEM_CONTACTS, MmGdbusModemContactsIface)) - -struct _MmGdbusModemContacts; -typedef struct _MmGdbusModemContacts MmGdbusModemContacts; -typedef struct _MmGdbusModemContactsIface MmGdbusModemContactsIface; - -struct _MmGdbusModemContactsIface -{ - GTypeInterface parent_iface; - - - gboolean (*handle_add) ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - GVariant *arg_properties); - - gboolean (*handle_delete) ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - guint arg_index); - - gboolean (*handle_find) ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - const gchar *arg_pattern); - - gboolean (*handle_get) ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - guint arg_index); - - gboolean (*handle_get_count) ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation); - - gboolean (*handle_list) ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation); - - void (*added) ( - MmGdbusModemContacts *object, - guint arg_index, - GVariant *arg_properties); - - void (*deleted) ( - MmGdbusModemContacts *object, - guint arg_index); - -}; - -GType mm_gdbus_modem_contacts_get_type (void) G_GNUC_CONST; - -GDBusInterfaceInfo *mm_gdbus_modem_contacts_interface_info (void); -guint mm_gdbus_modem_contacts_override_properties (GObjectClass *klass, guint property_id_begin); - - -/* D-Bus method call completion functions: */ -void mm_gdbus_modem_contacts_complete_add ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - guint index); - -void mm_gdbus_modem_contacts_complete_delete ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation); - -void mm_gdbus_modem_contacts_complete_get ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - GVariant *properties); - -void mm_gdbus_modem_contacts_complete_list ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - GVariant *results); - -void mm_gdbus_modem_contacts_complete_find ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - GVariant *results); - -void mm_gdbus_modem_contacts_complete_get_count ( - MmGdbusModemContacts *object, - GDBusMethodInvocation *invocation, - guint count); - - - -/* D-Bus signal emissions functions: */ -void mm_gdbus_modem_contacts_emit_added ( - MmGdbusModemContacts *object, - guint arg_index, - GVariant *arg_properties); - -void mm_gdbus_modem_contacts_emit_deleted ( - MmGdbusModemContacts *object, - guint arg_index); - - - -/* D-Bus method calls: */ -void mm_gdbus_modem_contacts_call_add ( - MmGdbusModemContacts *proxy, - GVariant *arg_properties, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - -gboolean mm_gdbus_modem_contacts_call_add_finish ( - MmGdbusModemContacts *proxy, - guint *out_index, - GAsyncResult *res, - GError **error); - -gboolean mm_gdbus_modem_contacts_call_add_sync ( - MmGdbusModemContacts *proxy, - GVariant *arg_properties, - guint *out_index, - GCancellable *cancellable, - GError **error); - -void mm_gdbus_modem_contacts_call_delete ( - MmGdbusModemContacts *proxy, - guint arg_index, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - -gboolean mm_gdbus_modem_contacts_call_delete_finish ( - MmGdbusModemContacts *proxy, - GAsyncResult *res, - GError **error); - -gboolean mm_gdbus_modem_contacts_call_delete_sync ( - MmGdbusModemContacts *proxy, - guint arg_index, - GCancellable *cancellable, - GError **error); - -void mm_gdbus_modem_contacts_call_get ( - MmGdbusModemContacts *proxy, - guint arg_index, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - -gboolean mm_gdbus_modem_contacts_call_get_finish ( - MmGdbusModemContacts *proxy, - GVariant **out_properties, - GAsyncResult *res, - GError **error); - -gboolean mm_gdbus_modem_contacts_call_get_sync ( - MmGdbusModemContacts *proxy, - guint arg_index, - GVariant **out_properties, - GCancellable *cancellable, - GError **error); - -void mm_gdbus_modem_contacts_call_list ( - MmGdbusModemContacts *proxy, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - -gboolean mm_gdbus_modem_contacts_call_list_finish ( - MmGdbusModemContacts *proxy, - GVariant **out_results, - GAsyncResult *res, - GError **error); - -gboolean mm_gdbus_modem_contacts_call_list_sync ( - MmGdbusModemContacts *proxy, - GVariant **out_results, - GCancellable *cancellable, - GError **error); - -void mm_gdbus_modem_contacts_call_find ( - MmGdbusModemContacts *proxy, - const gchar *arg_pattern, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - -gboolean mm_gdbus_modem_contacts_call_find_finish ( - MmGdbusModemContacts *proxy, - GVariant **out_results, - GAsyncResult *res, - GError **error); - -gboolean mm_gdbus_modem_contacts_call_find_sync ( - MmGdbusModemContacts *proxy, - const gchar *arg_pattern, - GVariant **out_results, - GCancellable *cancellable, - GError **error); - -void mm_gdbus_modem_contacts_call_get_count ( - MmGdbusModemContacts *proxy, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - -gboolean mm_gdbus_modem_contacts_call_get_count_finish ( - MmGdbusModemContacts *proxy, - guint *out_count, - GAsyncResult *res, - GError **error); - -gboolean mm_gdbus_modem_contacts_call_get_count_sync ( - MmGdbusModemContacts *proxy, - guint *out_count, - GCancellable *cancellable, - GError **error); - - - -/* ---- */ - -#define MM_GDBUS_TYPE_MODEM_CONTACTS_PROXY (mm_gdbus_modem_contacts_proxy_get_type ()) -#define MM_GDBUS_MODEM_CONTACTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MM_GDBUS_TYPE_MODEM_CONTACTS_PROXY, MmGdbusModemContactsProxy)) -#define MM_GDBUS_MODEM_CONTACTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), MM_GDBUS_TYPE_MODEM_CONTACTS_PROXY, MmGdbusModemContactsProxyClass)) -#define MM_GDBUS_MODEM_CONTACTS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MM_GDBUS_TYPE_MODEM_CONTACTS_PROXY, MmGdbusModemContactsProxyClass)) -#define MM_GDBUS_IS_MODEM_CONTACTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MM_GDBUS_TYPE_MODEM_CONTACTS_PROXY)) -#define MM_GDBUS_IS_MODEM_CONTACTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), MM_GDBUS_TYPE_MODEM_CONTACTS_PROXY)) - -typedef struct _MmGdbusModemContactsProxy MmGdbusModemContactsProxy; -typedef struct _MmGdbusModemContactsProxyClass MmGdbusModemContactsProxyClass; -typedef struct _MmGdbusModemContactsProxyPrivate MmGdbusModemContactsProxyPrivate; - -struct _MmGdbusModemContactsProxy -{ - /*< private >*/ - GDBusProxy parent_instance; - MmGdbusModemContactsProxyPrivate *priv; -}; - -struct _MmGdbusModemContactsProxyClass -{ - GDBusProxyClass parent_class; -}; - -GType mm_gdbus_modem_contacts_proxy_get_type (void) G_GNUC_CONST; - -void mm_gdbus_modem_contacts_proxy_new ( - GDBusConnection *connection, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -MmGdbusModemContacts *mm_gdbus_modem_contacts_proxy_new_finish ( - GAsyncResult *res, - GError **error); -MmGdbusModemContacts *mm_gdbus_modem_contacts_proxy_new_sync ( - GDBusConnection *connection, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GError **error); - -void mm_gdbus_modem_contacts_proxy_new_for_bus ( - GBusType bus_type, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -MmGdbusModemContacts *mm_gdbus_modem_contacts_proxy_new_for_bus_finish ( - GAsyncResult *res, - GError **error); -MmGdbusModemContacts *mm_gdbus_modem_contacts_proxy_new_for_bus_sync ( - GBusType bus_type, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GError **error); - - -/* ---- */ - -#define MM_GDBUS_TYPE_MODEM_CONTACTS_SKELETON (mm_gdbus_modem_contacts_skeleton_get_type ()) -#define MM_GDBUS_MODEM_CONTACTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MM_GDBUS_TYPE_MODEM_CONTACTS_SKELETON, MmGdbusModemContactsSkeleton)) -#define MM_GDBUS_MODEM_CONTACTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), MM_GDBUS_TYPE_MODEM_CONTACTS_SKELETON, MmGdbusModemContactsSkeletonClass)) -#define MM_GDBUS_MODEM_CONTACTS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MM_GDBUS_TYPE_MODEM_CONTACTS_SKELETON, MmGdbusModemContactsSkeletonClass)) -#define MM_GDBUS_IS_MODEM_CONTACTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MM_GDBUS_TYPE_MODEM_CONTACTS_SKELETON)) -#define MM_GDBUS_IS_MODEM_CONTACTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), MM_GDBUS_TYPE_MODEM_CONTACTS_SKELETON)) - -typedef struct _MmGdbusModemContactsSkeleton MmGdbusModemContactsSkeleton; -typedef struct _MmGdbusModemContactsSkeletonClass MmGdbusModemContactsSkeletonClass; -typedef struct _MmGdbusModemContactsSkeletonPrivate MmGdbusModemContactsSkeletonPrivate; - -struct _MmGdbusModemContactsSkeleton -{ - /*< private >*/ - GDBusInterfaceSkeleton parent_instance; - MmGdbusModemContactsSkeletonPrivate *priv; -}; - -struct _MmGdbusModemContactsSkeletonClass -{ - GDBusInterfaceSkeletonClass parent_class; -}; - -GType mm_gdbus_modem_contacts_skeleton_get_type (void) G_GNUC_CONST; - -MmGdbusModemContacts *mm_gdbus_modem_contacts_skeleton_new (void); - - -/* ------------------------------------------------------------------------ */ /* Declarations for org.freedesktop.ModemManager1.Modem.ModemCdma */ #define MM_GDBUS_TYPE_MODEM_CDMA (mm_gdbus_modem_cdma_get_type ()) @@ -2652,7 +2339,6 @@ MmGdbusModemMessaging *mm_gdbus_object_get_modem_messaging (MmGdbusObject *objec MmGdbusModemLocation *mm_gdbus_object_get_modem_location (MmGdbusObject *object); MmGdbusModemTime *mm_gdbus_object_get_modem_time (MmGdbusObject *object); MmGdbusModemFirmware *mm_gdbus_object_get_modem_firmware (MmGdbusObject *object); -MmGdbusModemContacts *mm_gdbus_object_get_modem_contacts (MmGdbusObject *object); MmGdbusModemCdma *mm_gdbus_object_get_modem_cdma (MmGdbusObject *object); MmGdbusModem3gpp *mm_gdbus_object_get_modem3gpp (MmGdbusObject *object); MmGdbusModem3gppUssd *mm_gdbus_object_get_modem3gpp_ussd (MmGdbusObject *object); @@ -2662,7 +2348,6 @@ MmGdbusModemMessaging *mm_gdbus_object_peek_modem_messaging (MmGdbusObject *obje MmGdbusModemLocation *mm_gdbus_object_peek_modem_location (MmGdbusObject *object); MmGdbusModemTime *mm_gdbus_object_peek_modem_time (MmGdbusObject *object); MmGdbusModemFirmware *mm_gdbus_object_peek_modem_firmware (MmGdbusObject *object); -MmGdbusModemContacts *mm_gdbus_object_peek_modem_contacts (MmGdbusObject *object); MmGdbusModemCdma *mm_gdbus_object_peek_modem_cdma (MmGdbusObject *object); MmGdbusModem3gpp *mm_gdbus_object_peek_modem3gpp (MmGdbusObject *object); MmGdbusModem3gppUssd *mm_gdbus_object_peek_modem3gpp_ussd (MmGdbusObject *object); @@ -2724,7 +2409,6 @@ void mm_gdbus_object_skeleton_set_modem_messaging (MmGdbusObjectSkeleton *object void mm_gdbus_object_skeleton_set_modem_location (MmGdbusObjectSkeleton *object, MmGdbusModemLocation *interface_); void mm_gdbus_object_skeleton_set_modem_time (MmGdbusObjectSkeleton *object, MmGdbusModemTime *interface_); void mm_gdbus_object_skeleton_set_modem_firmware (MmGdbusObjectSkeleton *object, MmGdbusModemFirmware *interface_); -void mm_gdbus_object_skeleton_set_modem_contacts (MmGdbusObjectSkeleton *object, MmGdbusModemContacts *interface_); void mm_gdbus_object_skeleton_set_modem_cdma (MmGdbusObjectSkeleton *object, MmGdbusModemCdma *interface_); void mm_gdbus_object_skeleton_set_modem3gpp (MmGdbusObjectSkeleton *object, MmGdbusModem3gpp *interface_); void mm_gdbus_object_skeleton_set_modem3gpp_ussd (MmGdbusObjectSkeleton *object, MmGdbusModem3gppUssd *interface_); |