summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/hmi_command_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/hmi_command_factory.cc')
-rw-r--r--src/components/application_manager/src/hmi_command_factory.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/application_manager/src/hmi_command_factory.cc b/src/components/application_manager/src/hmi_command_factory.cc
index 2ec9de5970..7fe5fb607c 100644
--- a/src/components/application_manager/src/hmi_command_factory.cc
+++ b/src/components/application_manager/src/hmi_command_factory.cc
@@ -209,6 +209,10 @@
#include "application_manager/commands/hmi/navi_alert_maneuver_response.h"
#include "application_manager/commands/hmi/navi_update_turn_list_request.h"
#include "application_manager/commands/hmi/navi_update_turn_list_response.h"
+#include "application_manager/commands/hmi/navi_subscribe_way_points_request.h"
+#include "application_manager/commands/hmi/navi_subscribe_way_points_response.h"
+#include "application_manager/commands/hmi/navi_unsubscribe_way_points_request.h"
+#include "application_manager/commands/hmi/navi_unsubscribe_way_points_response.h"
#include "application_manager/commands/hmi/on_ready_notification.h"
#include "application_manager/commands/hmi/on_device_chosen_notification.h"
#include "application_manager/commands/hmi/on_file_removed_notification.h"
@@ -1057,6 +1061,22 @@ CommandSharedPtr HMICommandFactory::CreateCommand(
}
break;
}
+ case hmi_apis::FunctionID::Navigation_SubscribeWayPoints: {
+ if (is_response) {
+ command.reset(new commands::NaviSubscribeWaypointsResponse(message));
+ } else {
+ command.reset(new commands::NaviSubscribeWayPointsRequest(message));
+ }
+ break;
+ }
+ case hmi_apis::FunctionID::Navigation_UnsubscribeWayPoints: {
+ if (is_response) {
+ command.reset(new commands::NaviUnSubscribeWaypointsResponse(message));
+ } else {
+ command.reset(new commands::NaviUnSubscribeWayPointsRequest(message));
+ }
+ break;
+ }
case hmi_apis::FunctionID::Buttons_GetCapabilities: {
if (is_response) {
command.reset(new commands::ButtonGetCapabilitiesResponse(message));