summaryrefslogtreecommitdiff
path: root/src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2018-09-17 14:27:40 -0400
committerJackLivio <jack@livio.io>2018-09-17 14:27:40 -0400
commitc84cd99e962af6730791df69f1796783ca106e40 (patch)
tree2a75e24596cc8def6f21a36f00a6dff19dd127c3 /src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h
parent6d80feae92ac295daf5ca845fbe9e902bd5cc597 (diff)
downloadsdl_core-c84cd99e962af6730791df69f1796783ca106e40.tar.gz
Add override for IAP emulated transportfix/emulated_iap_transport_override
Diffstat (limited to 'src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h')
-rw-r--r--src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h b/src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h
index 36a2b374dd..e53a472bcb 100644
--- a/src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h
+++ b/src/components/transport_manager/include/transport_manager/iap2_emulation/iap2_transport_adapter.h
@@ -74,6 +74,15 @@ class IAP2BluetoothEmulationTransportAdapter : public TcpTransportAdapter {
*/
void DeviceSwitched(const DeviceUID& device_handle) OVERRIDE;
+ /**
+ * @brief Notification that transport's configuration is updated. This
+ * override is needed so that a OnTransportConfigUpdated is not sent to the
+ * mobile device for the emulated transport.
+ *
+ * @param new_config The new configuration of the transport
+ */
+ void TransportConfigUpdated(const TransportConfig& new_config) OVERRIDE;
+
protected:
/**
* @brief GetDeviceType Provides SDL device type for transport adapter
@@ -110,6 +119,15 @@ class IAP2USBEmulationTransportAdapter : public TcpTransportAdapter {
*/
void DeviceSwitched(const DeviceUID& device_handle) OVERRIDE;
+ /**
+ * @brief Notification that transport's configuration is updated. This
+ * override is needed so that a OnTransportConfigUpdated is not sent to the
+ * mobile device for the emulated transport.
+ *
+ * @param new_config The new configuration of the transport
+ */
+ void TransportConfigUpdated(const TransportConfig& new_config) OVERRIDE;
+
protected:
/**
* @brief GetDeviceType Provides SDL device type for transport adapter