From d9656f69e340d674d164d8ef30b69cdfb9f976f0 Mon Sep 17 00:00:00 2001 From: Yuta Doi Date: Wed, 9 May 2018 13:47:24 +0900 Subject: Add headlamp ON/OFF and car stop/run event Change-Id: I65c543cfce9dcf1c4fdd21af1a3129eceec2b172 Signed-off-by: Yuta Doi --- src/libwindowmanager.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/libwindowmanager.h') diff --git a/src/libwindowmanager.h b/src/libwindowmanager.h index b2b9496..d47f400 100644 --- a/src/libwindowmanager.h +++ b/src/libwindowmanager.h @@ -44,7 +44,11 @@ public: const char *kKeyIviId = "ivi_id"; enum EventType { - Event_Active = 0, + Event_Val_Invalid = -1, + + Event_Val_Min = 0, + + Event_Active = Event_Val_Min, Event_Inactive, Event_Visible, @@ -52,6 +56,14 @@ public: Event_SyncDraw, Event_FlushDraw, + + Event_HeadlampOff, + Event_HeadlampOn, + + Event_CarStop, + Event_CarRun, + + Event_Val_Max = Event_CarRun, }; int init(int port, char const *token); -- cgit 1.2.3-korg