summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc b/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
index 85994ad80e..68942fcf01 100644
--- a/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
@@ -31,29 +31,25 @@
*/
#include "application_manager/commands/hmi/on_vr_started_notification.h"
-#include "application_manager/application_manager_impl.h"
namespace application_manager {
namespace commands {
OnVRStartedNotification::OnVRStartedNotification(
- const MessageSharedPtr& message)
- : NotificationFromHMI(message) {
-}
+ const MessageSharedPtr& message, ApplicationManager& application_manager)
+ : NotificationFromHMI(message, application_manager) {}
-OnVRStartedNotification::~OnVRStartedNotification() {
-}
+OnVRStartedNotification::~OnVRStartedNotification() {}
void OnVRStartedNotification::Run() {
LOG4CXX_AUTO_TRACE(logger_);
event_engine::Event event(hmi_apis::FunctionID::VR_Started);
event.set_smart_object(*message_);
- event.raise();
+ event.raise(application_manager_.event_dispatcher());
}
} // namespace commands
} // namespace application_manager
-