diff options
Diffstat (limited to 'include/cru/platform/native/window.hpp')
-rw-r--r-- | include/cru/platform/native/window.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <string> + 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<NativeMouseButtonEventArgs>* MouseUpEvent() = 0; virtual IEvent<int>* KeyDownEvent() = 0; virtual IEvent<int>* KeyUpEvent() = 0; + virtual IEvent<std::string>* CharEvent() = 0; }; // See INativeWindow for more info. |