summaryrefslogtreecommitdiff
path: root/src/components/include/transport_manager/transport_adapter/transport_adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/transport_manager/transport_adapter/transport_adapter.h')
-rw-r--r--src/components/include/transport_manager/transport_adapter/transport_adapter.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/include/transport_manager/transport_adapter/transport_adapter.h b/src/components/include/transport_manager/transport_adapter/transport_adapter.h
index 8b46be253b..e9494b4ced 100644
--- a/src/components/include/transport_manager/transport_adapter/transport_adapter.h
+++ b/src/components/include/transport_manager/transport_adapter/transport_adapter.h
@@ -68,6 +68,7 @@ enum DeviceType {
IOS_USB_HOST_MODE,
IOS_USB_DEVICE_MODE,
IOS_CARPLAY_WIRELESS, // running on iAP over Carplay wireless transport
+ WEBENGINE_WEBSOCKET,
UNKNOWN
};
@@ -225,6 +226,16 @@ class TransportAdapter {
const DeviceUID& device_handle) const = 0;
/**
+ * @brief Add device to the container(map), if container doesn't hold it yet.
+ * in TransportAdapter is used only to add a WebEngine device
+ *
+ * @param device Smart pointer to the device.
+ *
+ * @return Smart pointer to the device.
+ */
+ virtual DeviceSptr AddDevice(DeviceSptr device) = 0;
+
+ /**
* @brief RunAppOnDevice allows to run specific application on the certain
*device.
*