diff options
author | Kozoriz <kozorizandriy@gmail.com> | 2016-04-11 16:22:10 +0300 |
---|---|---|
committer | Kozoriz <kozorizandriy@gmail.com> | 2016-04-25 12:05:00 +0300 |
commit | 65350ac57da63f3c267d3a27dce05a3752ddbba7 (patch) | |
tree | 197f249f8bd3108c7fbb154d4c67a14bcb38318e /src/components/application_manager/src/commands/hmi/navi_send_location_response.cc | |
parent | 2c7dc612ce41461bebc3416917d2607f24002285 (diff) | |
download | sdl_core-65350ac57da63f3c267d3a27dce05a3752ddbba7.tar.gz |
Hmi commands update after removing all singletones
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/navi_send_location_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/navi_send_location_response.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/application_manager/src/commands/hmi/navi_send_location_response.cc b/src/components/application_manager/src/commands/hmi/navi_send_location_response.cc index 7ec5a5907d..2126dd5a99 100644 --- a/src/components/application_manager/src/commands/hmi/navi_send_location_response.cc +++ b/src/components/application_manager/src/commands/hmi/navi_send_location_response.cc @@ -32,12 +32,13 @@ #include "application_manager/commands/hmi/navi_send_location_response.h" #include "application_manager/event_engine/event.h" + namespace application_manager { namespace commands { -NaviSendLocationResponse::NaviSendLocationResponse(const MessageSharedPtr& message) - : ResponseFromHMI(message) { +NaviSendLocationResponse::NaviSendLocationResponse(const MessageSharedPtr& message, ApplicationManager& application_manager) + : ResponseFromHMI(message, application_manager) { } NaviSendLocationResponse::~NaviSendLocationResponse() { @@ -48,7 +49,7 @@ void NaviSendLocationResponse::Run() { event_engine::Event event(hmi_apis::FunctionID::Navigation_SendLocation); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |