From 1ccf89dbb89c3068e30bb7fb395c4fe7b0ee843a Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 4 Oct 2012 17:09:27 +0200 Subject: api,libmm-glib,cli: handle firmware images of type `MM_FIRMWARE_IMAGE_TYPE_GOBI' --- libmm-glib/mm-firmware-properties.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'libmm-glib/mm-firmware-properties.h') diff --git a/libmm-glib/mm-firmware-properties.h b/libmm-glib/mm-firmware-properties.h index 4cacfd68..33fffc3e 100644 --- a/libmm-glib/mm-firmware-properties.h +++ b/libmm-glib/mm-firmware-properties.h @@ -58,6 +58,13 @@ GType mm_firmware_properties_get_type (void); const gchar *mm_firmware_properties_get_unique_id (MMFirmwareProperties *self); MMFirmwareImageType mm_firmware_properties_get_image_type (MMFirmwareProperties *self); +/* Gobi specific */ +const gchar *mm_firmware_properties_get_gobi_pri_version (MMFirmwareProperties *self); +const gchar *mm_firmware_properties_get_gobi_pri_info (MMFirmwareProperties *self); +const gchar *mm_firmware_properties_get_gobi_boot_version (MMFirmwareProperties *self); +const gchar *mm_firmware_properties_get_gobi_pri_unique_id (MMFirmwareProperties *self); +const gchar *mm_firmware_properties_get_gobi_modem_unique_id (MMFirmwareProperties *self); + /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ @@ -70,6 +77,18 @@ MMFirmwareProperties *mm_firmware_properties_new (MMFirmwareImageType image_type MMFirmwareProperties *mm_firmware_properties_new_from_dictionary (GVariant *dictionary, GError **error); +/* Gobi specific */ +void mm_firmware_properties_set_gobi_pri_version (MMFirmwareProperties *self, + const gchar *version); +void mm_firmware_properties_set_gobi_pri_info (MMFirmwareProperties *self, + const gchar *info); +void mm_firmware_properties_set_gobi_boot_version (MMFirmwareProperties *self, + const gchar *version); +void mm_firmware_properties_set_gobi_pri_unique_id (MMFirmwareProperties *self, + const gchar *id); +void mm_firmware_properties_set_gobi_modem_unique_id (MMFirmwareProperties *self, + const gchar *id); + GVariant *mm_firmware_properties_get_dictionary (MMFirmwareProperties *self); #endif -- cgit v1.2.3-70-g09d2