diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/tts_change_registration_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/tts_change_registration_response.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/hmi/tts_change_registration_response.cc b/src/components/application_manager/src/commands/hmi/tts_change_registration_response.cc index 03b51e5db7..e63ee5f74d 100644 --- a/src/components/application_manager/src/commands/hmi/tts_change_registration_response.cc +++ b/src/components/application_manager/src/commands/hmi/tts_change_registration_response.cc @@ -31,6 +31,7 @@ */ #include "application_manager/commands/hmi/tts_change_registration_response.h" #include "application_manager/event_engine/event.h" + #include "interfaces/HMI_API.h" namespace application_manager { @@ -38,19 +39,17 @@ namespace application_manager { namespace commands { TTSChangeRegistratioResponse::TTSChangeRegistratioResponse( - const MessageSharedPtr& message) - : ResponseFromHMI(message) { -} + const MessageSharedPtr& message, ApplicationManager& application_manager) + : ResponseFromHMI(message, application_manager) {} -TTSChangeRegistratioResponse::~TTSChangeRegistratioResponse() { -} +TTSChangeRegistratioResponse::~TTSChangeRegistratioResponse() {} void TTSChangeRegistratioResponse::Run() { LOG4CXX_AUTO_TRACE(logger_); event_engine::Event event(hmi_apis::FunctionID::TTS_ChangeRegistration); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |