summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/tts_set_global_properties_response.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/tts_set_global_properties_response.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/tts_set_global_properties_response.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/hmi/tts_set_global_properties_response.cc b/src/components/application_manager/src/commands/hmi/tts_set_global_properties_response.cc
index 70dc46d6a6..f494fb1a8e 100644
--- a/src/components/application_manager/src/commands/hmi/tts_set_global_properties_response.cc
+++ b/src/components/application_manager/src/commands/hmi/tts_set_global_properties_response.cc
@@ -31,6 +31,7 @@
*/
#include "application_manager/commands/hmi/tts_set_global_properties_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 {
TTSSetGlobalPropertiesResponse::TTSSetGlobalPropertiesResponse(
- const MessageSharedPtr& message)
- : ResponseFromHMI(message) {
-}
+ const MessageSharedPtr& message, ApplicationManager& application_manager)
+ : ResponseFromHMI(message, application_manager) {}
-TTSSetGlobalPropertiesResponse::~TTSSetGlobalPropertiesResponse() {
-}
+TTSSetGlobalPropertiesResponse::~TTSSetGlobalPropertiesResponse() {}
void TTSSetGlobalPropertiesResponse::Run() {
LOG4CXX_AUTO_TRACE(logger_);
event_engine::Event event(hmi_apis::FunctionID::TTS_SetGlobalProperties);
event.set_smart_object(*message_);
- event.raise();
+ event.raise(application_manager_.event_dispatcher());
}
} // namespace commands