diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qlibhomescreen.cpp | 2 | ||||
-rw-r--r-- | src/qlibhomescreen.h | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/qlibhomescreen.cpp b/src/qlibhomescreen.cpp index 095c4a7..63dc692 100644 --- a/src/qlibhomescreen.cpp +++ b/src/qlibhomescreen.cpp @@ -167,7 +167,7 @@ void QLibHomeScreen::set_event_handler(enum QEventType et, handler_fun f) { HMI_DEBUG("qlibhomescreen", "called."); LibHomeScreen::EventType hs_et = (LibHomeScreen::EventType)et; - return this->mp_hs->set_event_handler(hs_et, std::move(f)); + this->mp_hs->set_event_handler(hs_et, std::move(f)); } /** diff --git a/src/qlibhomescreen.h b/src/qlibhomescreen.h index 876ce38..85f6d09 100644 --- a/src/qlibhomescreen.h +++ b/src/qlibhomescreen.h @@ -44,7 +44,11 @@ public: Event_ShowInformation = LibHomeScreen::Event_ShowInformation, Event_AppListChanged = LibHomeScreen::Event_AppListChanged, Event_RegisterShortcut = LibHomeScreen::Event_RegisterShortcut, - Event_UpdateShortcut = LibHomeScreen::Event_UpdateShortcut + Event_UpdateShortcut = LibHomeScreen::Event_UpdateShortcut, + Event_SetDestination = LibHomeScreen::Event_SetDestination, + Event_CancelDestination = LibHomeScreen::Event_CancelDestination, + Event_StartNavigation = LibHomeScreen::Event_StartNavigation, + Event_StopNavigation = LibHomeScreen::Event_StopNavigation }; using handler_fun = std::function<void(json_object *object)>; |