aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-04 16:34:44 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-04 16:34:44 +0900
commita181459365cdf50a72b26b1f770577096ba19d4a (patch)
tree0fad149ac95dc823b508181606580605c2c6ecac /src/app.hpp
parent2340eb6f1c780cd98e77403d2b7f40a1fcc21471 (diff)
Add global error event
Change-Id: I285437e22fd9666eac9bb645035dcf7d134eb892 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp7
1 files changed, 5 insertions, 2 deletions
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<const char *> kListEventName{
@@ -167,7 +169,8 @@ struct App
"visible",
"invisible",
"syncdraw",
- "flushdraw"};
+ "flushdraw",
+ "error"};
struct controller_hooks chooks;