api,introspection: merge 'AllowedModes' and 'SupportedMode' into 'CurrentModes'

We now have a single 'CurrentModes' property which contains both values in a
tuple with signature "(uu)".

Also, rename 'SetAllowedModes()' to 'SetCurrentModes()', and update the list of
arguments expected to have a single "(uu)" tuple.
This commit is contained in:
Aleksander Morgado
2013-05-29 13:42:14 +02:00
parent 45ceba7692
commit 1c67d050cb
24 changed files with 482 additions and 447 deletions

View File

@@ -109,8 +109,7 @@ mm_modem_get_own_numbers
mm_modem_dup_own_numbers
mm_modem_peek_supported_modes
mm_modem_get_supported_modes
mm_modem_get_allowed_modes
mm_modem_get_preferred_mode
mm_modem_get_current_modes
mm_modem_peek_supported_bands
mm_modem_get_supported_bands
mm_modem_peek_current_bands
@@ -134,9 +133,9 @@ mm_modem_disable_sync
mm_modem_set_power_state
mm_modem_set_power_state_finish
mm_modem_set_power_state_sync
mm_modem_set_allowed_modes
mm_modem_set_allowed_modes_finish
mm_modem_set_allowed_modes_sync
mm_modem_set_current_modes
mm_modem_set_current_modes_finish
mm_modem_set_current_modes_sync
mm_modem_set_current_bands
mm_modem_set_current_bands_finish
mm_modem_set_current_bands_sync
@@ -638,8 +637,8 @@ mm_simple_connect_properties_get_operator_id
mm_simple_connect_properties_set_operator_id
mm_simple_connect_properties_get_current_bands
mm_simple_connect_properties_set_current_bands
mm_simple_connect_properties_get_allowed_modes
mm_simple_connect_properties_set_allowed_modes
mm_simple_connect_properties_get_current_modes
mm_simple_connect_properties_set_current_modes
mm_simple_connect_properties_get_apn
mm_simple_connect_properties_set_apn
mm_simple_connect_properties_get_allowed_auth
@@ -1418,7 +1417,8 @@ MmGdbusModem
MmGdbusModemIface
<SUBSECTION Getters>
mm_gdbus_modem_get_access_technologies
mm_gdbus_modem_get_allowed_modes
mm_gdbus_modem_get_current_modes
mm_gdbus_modem_dup_current_modes
mm_gdbus_modem_get_current_bands
mm_gdbus_modem_dup_current_bands
mm_gdbus_modem_get_current_capabilities
@@ -1444,7 +1444,6 @@ mm_gdbus_modem_dup_plugin
mm_gdbus_modem_get_power_state
mm_gdbus_modem_get_primary_port
mm_gdbus_modem_dup_primary_port
mm_gdbus_modem_get_preferred_mode
mm_gdbus_modem_get_revision
mm_gdbus_modem_dup_revision
mm_gdbus_modem_get_signal_quality
@@ -1483,9 +1482,9 @@ mm_gdbus_modem_call_reset_sync
mm_gdbus_modem_call_factory_reset
mm_gdbus_modem_call_factory_reset_finish
mm_gdbus_modem_call_factory_reset_sync
mm_gdbus_modem_call_set_allowed_modes
mm_gdbus_modem_call_set_allowed_modes_finish
mm_gdbus_modem_call_set_allowed_modes_sync
mm_gdbus_modem_call_set_current_modes
mm_gdbus_modem_call_set_current_modes_finish
mm_gdbus_modem_call_set_current_modes_sync
mm_gdbus_modem_call_set_current_bands
mm_gdbus_modem_call_set_current_bands_finish
mm_gdbus_modem_call_set_current_bands_sync
@@ -1494,7 +1493,7 @@ mm_gdbus_modem_call_command_finish
mm_gdbus_modem_call_command_sync
<SUBSECTION Private>
mm_gdbus_modem_set_access_technologies
mm_gdbus_modem_set_allowed_modes
mm_gdbus_modem_set_current_modes
mm_gdbus_modem_set_current_bands
mm_gdbus_modem_set_current_capabilities
mm_gdbus_modem_set_device
@@ -1509,7 +1508,6 @@ mm_gdbus_modem_set_modem_capabilities
mm_gdbus_modem_set_own_numbers
mm_gdbus_modem_set_plugin
mm_gdbus_modem_set_primary_port
mm_gdbus_modem_set_preferred_mode
mm_gdbus_modem_set_revision
mm_gdbus_modem_set_signal_quality
mm_gdbus_modem_set_sim
@@ -1530,7 +1528,7 @@ mm_gdbus_modem_complete_set_power_state
mm_gdbus_modem_complete_factory_reset
mm_gdbus_modem_complete_list_bearers
mm_gdbus_modem_complete_reset
mm_gdbus_modem_complete_set_allowed_modes
mm_gdbus_modem_complete_set_current_modes
mm_gdbus_modem_complete_set_current_bands
mm_gdbus_modem_interface_info
mm_gdbus_modem_override_properties