diff options
author | Herasym Oleh <oolleehh@gmail.com> | 2016-03-29 17:12:38 +0300 |
---|---|---|
committer | Herasym Oleh <oolleehh@gmail.com> | 2016-04-13 11:32:17 +0300 |
commit | d1d66f08db71b05316747c46bd334998a03f2d8c (patch) | |
tree | 391494220e53807f7bf12bfea79192e300d95ca6 /src/components/application_manager/src/mobile_command_factory.cc | |
parent | 29c964ac33c41ff315639a1a194d45bf3626b3f7 (diff) | |
download | sdl_core-d1d66f08db71b05316747c46bd334998a03f2d8c.tar.gz |
Add GetWayPoints implementation command
Add mobile request GetWayPoints
Add mobile response GetWayPoints
Add HMI request GetWayPoints
Add HMI response GetWayPoints
Related:
APPLINK-21612
Diffstat (limited to 'src/components/application_manager/src/mobile_command_factory.cc')
-rw-r--r-- | src/components/application_manager/src/mobile_command_factory.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/application_manager/src/mobile_command_factory.cc b/src/components/application_manager/src/mobile_command_factory.cc index 842f01faf8..33e15375e2 100644 --- a/src/components/application_manager/src/mobile_command_factory.cc +++ b/src/components/application_manager/src/mobile_command_factory.cc @@ -58,6 +58,8 @@ #include "application_manager/commands/mobile/get_dtcs_response.h" #include "application_manager/commands/mobile/get_vehicle_data_request.h" #include "application_manager/commands/mobile/get_vehicle_data_response.h" +#include "application_manager/commands/mobile/get_way_points_request.h" +#include "application_manager/commands/mobile/get_way_points_response.h" #include "application_manager/commands/mobile/list_files_request.h" #include "application_manager/commands/mobile/list_files_response.h" #include "application_manager/commands/mobile/on_app_interface_unregistered_notification.h" @@ -349,6 +351,15 @@ CommandSharedPtr MobileCommandFactory::CreateCommand( } break; } + case mobile_apis::FunctionID::GetWayPointsID: { + if ((*message)[strings::params][strings::message_type] + == static_cast<int>(application_manager::MessageType::kResponse)) { + command = utils::MakeShared<commands::GetWayPointsResponse>(message); + } else { + command = utils::MakeShared<commands::GetWayPointsRequest>(message); + } + break; + } case mobile_apis::FunctionID::SubscribeVehicleDataID: { if ((*message)[strings::params][strings::message_type] == static_cast<int>(application_manager::MessageType::kResponse)) { |