summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/mobile_command_factory.cc
diff options
context:
space:
mode:
authorHerasym Oleh <oolleehh@gmail.com>2016-03-30 12:53:58 +0300
committerHerasym Oleh <oolleehh@gmail.com>2016-04-13 11:44:37 +0300
commit827075295eeb4f364b4f7d5435d5e5d6f87280d3 (patch)
tree4a30a6f22ecd61766f839a977cd37bbc75659a29 /src/components/application_manager/src/mobile_command_factory.cc
parentd1d66f08db71b05316747c46bd334998a03f2d8c (diff)
downloadsdl_core-827075295eeb4f364b4f7d5435d5e5d6f87280d3.tar.gz
Add OnWayPointsChange notification implementation
Add HMI OnWayPointsChange notification Add Mobile OnWaypointsChange notification Related: APPLINK-21353 Conflicts: src/appMain/sdl_preloaded_pt.json src/components/interfaces/HMI_API.xml src/components/interfaces/MOBILE_API.xml
Diffstat (limited to 'src/components/application_manager/src/mobile_command_factory.cc')
-rw-r--r--src/components/application_manager/src/mobile_command_factory.cc5
1 files changed, 5 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 33e15375e2..32e5ea9428 100644
--- a/src/components/application_manager/src/mobile_command_factory.cc
+++ b/src/components/application_manager/src/mobile_command_factory.cc
@@ -75,6 +75,7 @@
#include "application_manager/commands/mobile/on_tbt_client_state_notification.h"
#include "application_manager/commands/mobile/on_vehicle_data_notification.h"
#include "application_manager/commands/mobile/on_hash_change_notification.h"
+#include "application_manager/commands/mobile/on_way_point_change_notification.h"
#include "application_manager/commands/mobile/perform_audio_pass_thru_request.h"
#include "application_manager/commands/mobile/perform_audio_pass_thru_response.h"
#include "application_manager/commands/mobile/perform_interaction_request.h"
@@ -586,6 +587,10 @@ CommandSharedPtr MobileCommandFactory::CreateCommand(
command = utils::MakeShared<commands::mobile::OnHashChangeNotification>(message);
break;
}
+ case mobile_apis::FunctionID::OnWayPointChangeID: {
+ command = utils::MakeShared<commands::OnWayPointChangeNotification>(message);
+ break;
+ }
default: {
(*message)[strings::params][strings::function_id] =
static_cast<int32_t>(mobile_apis::FunctionID::GenericResponseID);