diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/ui_set_media_clock_timer_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/ui_set_media_clock_timer_response.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/hmi/ui_set_media_clock_timer_response.cc b/src/components/application_manager/src/commands/hmi/ui_set_media_clock_timer_response.cc index ae878bd694..32acef4994 100644 --- a/src/components/application_manager/src/commands/hmi/ui_set_media_clock_timer_response.cc +++ b/src/components/application_manager/src/commands/hmi/ui_set_media_clock_timer_response.cc @@ -38,19 +38,17 @@ namespace application_manager { namespace commands { UISetMediaClockTimerResponse::UISetMediaClockTimerResponse( - const MessageSharedPtr& message) - : ResponseFromHMI(message) { -} + const MessageSharedPtr& message, ApplicationManager& application_manager) + : ResponseFromHMI(message, application_manager) {} -UISetMediaClockTimerResponse::~UISetMediaClockTimerResponse() { -} +UISetMediaClockTimerResponse::~UISetMediaClockTimerResponse() {} void UISetMediaClockTimerResponse::Run() { LOG4CXX_AUTO_TRACE(logger_); event_engine::Event event(hmi_apis::FunctionID::UI_SetMediaClockTimer); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |