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 | 7 |
1 files changed, 4 insertions, 3 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..e5582a1edc 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,8 +39,8 @@ namespace application_manager { namespace commands { TTSChangeRegistratioResponse::TTSChangeRegistratioResponse( - const MessageSharedPtr& message) - : ResponseFromHMI(message) { + const MessageSharedPtr& message, ApplicationManager& application_manager) + : ResponseFromHMI(message, application_manager) { } TTSChangeRegistratioResponse::~TTSChangeRegistratioResponse() { @@ -50,7 +51,7 @@ void TTSChangeRegistratioResponse::Run() { event_engine::Event event(hmi_apis::FunctionID::TTS_ChangeRegistration); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |