diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-04 16:43:43 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-04 18:52:39 +0200 |
commit | 0d00ee28be0e82227dd6795ab62669944fb7076f (patch) | |
tree | 059e90b9452c2e57c7c2b87697cd701bca576549 /libmm-glib/mm-firmware-properties.h | |
parent | d84b4f634eac8e5aca8243824243e8c017c11f13 (diff) |
api,libmm-glib: use a 'unique-id' as ID of the firmware image, not a 'name'
Also, make only the 'unique-id' mandatory.
Diffstat (limited to 'libmm-glib/mm-firmware-properties.h')
-rw-r--r-- | libmm-glib/mm-firmware-properties.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libmm-glib/mm-firmware-properties.h b/libmm-glib/mm-firmware-properties.h index eb7cae68..4cacfd68 100644 --- a/libmm-glib/mm-firmware-properties.h +++ b/libmm-glib/mm-firmware-properties.h @@ -55,8 +55,7 @@ struct _MMFirmwarePropertiesClass { GType mm_firmware_properties_get_type (void); -const gchar *mm_firmware_properties_get_name (MMFirmwareProperties *self); -const gchar *mm_firmware_properties_get_version (MMFirmwareProperties *self); +const gchar *mm_firmware_properties_get_unique_id (MMFirmwareProperties *self); MMFirmwareImageType mm_firmware_properties_get_image_type (MMFirmwareProperties *self); /*****************************************************************************/ @@ -67,8 +66,7 @@ MMFirmwareImageType mm_firmware_properties_get_image_type (MMFirmwareProperties defined (LIBMM_GLIB_COMPILATION) MMFirmwareProperties *mm_firmware_properties_new (MMFirmwareImageType image_type, - const gchar *name, - const gchar *version); + const gchar *unique_id); MMFirmwareProperties *mm_firmware_properties_new_from_dictionary (GVariant *dictionary, GError **error); |