diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/ui_alert_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/ui_alert_response.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/hmi/ui_alert_response.cc b/src/components/application_manager/src/commands/hmi/ui_alert_response.cc index 8c9ddef7ac..6d552a1eb7 100644 --- a/src/components/application_manager/src/commands/hmi/ui_alert_response.cc +++ b/src/components/application_manager/src/commands/hmi/ui_alert_response.cc @@ -31,25 +31,25 @@ */ #include "application_manager/commands/hmi/ui_alert_response.h" #include "application_manager/event_engine/event.h" + #include "interfaces/HMI_API.h" namespace application_manager { namespace commands { -UIAlertResponse::UIAlertResponse(const MessageSharedPtr& message) - : ResponseFromHMI(message) { -} +UIAlertResponse::UIAlertResponse(const MessageSharedPtr& message, + ApplicationManager& application_manager) + : ResponseFromHMI(message, application_manager) {} -UIAlertResponse::~UIAlertResponse() { -} +UIAlertResponse::~UIAlertResponse() {} void UIAlertResponse::Run() { LOG4CXX_AUTO_TRACE(logger_); event_engine::Event event(hmi_apis::FunctionID::UI_Alert); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |