diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_tts_stopped_notification.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/on_tts_stopped_notification.cc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_tts_stopped_notification.cc b/src/components/application_manager/src/commands/hmi/on_tts_stopped_notification.cc index 8d429ed179..7f763d8598 100644 --- a/src/components/application_manager/src/commands/hmi/on_tts_stopped_notification.cc +++ b/src/components/application_manager/src/commands/hmi/on_tts_stopped_notification.cc @@ -31,7 +31,7 @@ */ #include "application_manager/commands/hmi/on_tts_stopped_notification.h" -#include "application_manager/application_manager_impl.h" + #include "application_manager/event_engine/event.h" namespace application_manager { @@ -39,22 +39,19 @@ namespace application_manager { namespace commands { OnTTSStoppedNotification::OnTTSStoppedNotification( - const MessageSharedPtr& message) - : NotificationFromHMI(message) { -} + const MessageSharedPtr& message, ApplicationManager& application_manager) + : NotificationFromHMI(message, application_manager) {} -OnTTSStoppedNotification::~OnTTSStoppedNotification() { -} +OnTTSStoppedNotification::~OnTTSStoppedNotification() {} void OnTTSStoppedNotification::Run() { LOG4CXX_AUTO_TRACE(logger_); event_engine::Event event(hmi_apis::FunctionID::TTS_Stopped); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands } // namespace application_manager - |