From a181459365cdf50a72b26b1f770577096ba19d4a Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 4 Jun 2018 16:34:44 +0900 Subject: Add global error event Change-Id: I285437e22fd9666eac9bb645035dcf7d134eb892 Signed-off-by: Kazumasa Mitsunari --- src/app.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/app.hpp') diff --git a/src/app.hpp b/src/app.hpp index 4d079c1..25a72cb 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -158,7 +158,9 @@ struct App Event_SyncDraw, Event_FlushDraw, - Event_Val_Max = Event_FlushDraw, + Event_Error, + + Event_Val_Max = Event_Error, }; const std::vector kListEventName{ @@ -167,7 +169,8 @@ struct App "visible", "invisible", "syncdraw", - "flushdraw"}; + "flushdraw", + "error"}; struct controller_hooks chooks; -- cgit 1.2.3-korg