summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_tts_reset_timeout_notification.cc
blob: 96089384c40e2f66924aa428ed434c5c98e96b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "application_manager/commands/hmi/on_tts_reset_timeout_notification.h"
#include "application_manager/event_engine/event.h"
#include "interfaces/HMI_API.h"

namespace application_manager {

namespace commands {

namespace hmi {

OnTTSResetTimeoutNotification::OnTTSResetTimeoutNotification(
    const MessageSharedPtr& message) : NotificationFromHMI(message) {
}

OnTTSResetTimeoutNotification::~OnTTSResetTimeoutNotification() {
}

void OnTTSResetTimeoutNotification::Run() {
  LOG4CXX_AUTO_TRACE(logger_);

  event_engine::Event event(hmi_apis::FunctionID::TTS_OnResetTimeout);
  event.set_smart_object(*message_);
  event.raise();
}

}  // namespace hmi

}  // namespace commands

}  // namespace application_manager