From 507de8c6a931d0784c8f740d41db610d3ed8db68 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 19 Mar 2020 19:45:26 +0800 Subject: ... --- include/cru/platform/native/window.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/cru/platform') diff --git a/include/cru/platform/native/window.hpp b/include/cru/platform/native/window.hpp index 85f809e5..0d40702f 100644 --- a/include/cru/platform/native/window.hpp +++ b/include/cru/platform/native/window.hpp @@ -3,6 +3,8 @@ #include "base.hpp" #include "cru/common/event.hpp" +#include + namespace cru::platform::native { // Represents a native window, which exposes some low-level events and // operations. @@ -55,6 +57,7 @@ struct INativeWindow : virtual INativeResource { virtual IEvent* MouseUpEvent() = 0; virtual IEvent* KeyDownEvent() = 0; virtual IEvent* KeyUpEvent() = 0; + virtual IEvent* CharEvent() = 0; }; // See INativeWindow for more info. -- cgit v1.2.3