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/ui_end_audio_pass_thru_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/ui_end_audio_pass_thru_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/ui_end_audio_pass_thru_response.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/application_manager/src/commands/hmi/ui_end_audio_pass_thru_response.cc b/src/components/application_manager/src/commands/hmi/ui_end_audio_pass_thru_response.cc index 8f5d92b78f..38d5c75cf8 100644 --- a/src/components/application_manager/src/commands/hmi/ui_end_audio_pass_thru_response.cc +++ b/src/components/application_manager/src/commands/hmi/ui_end_audio_pass_thru_response.cc @@ -31,6 +31,7 @@ */ #include "application_manager/commands/hmi/ui_end_audio_pass_thru_response.h" #include "application_manager/event_engine/event.h" + #include "interfaces/HMI_API.h" namespace application_manager { @@ -38,8 +39,8 @@ namespace application_manager { namespace commands { UIEndAudioPassThruResponse::UIEndAudioPassThruResponse( - const MessageSharedPtr& message) - : ResponseFromHMI(message) { + const MessageSharedPtr& message, ApplicationManager& application_manager) + : ResponseFromHMI(message, application_manager) { } UIEndAudioPassThruResponse::~UIEndAudioPassThruResponse() { @@ -50,7 +51,7 @@ void UIEndAudioPassThruResponse::Run() { event_engine::Event event(hmi_apis::FunctionID::UI_EndAudioPassThru); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |