From ce838a265d9da5b4bd3a0c833b01db6dbaa623f5 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Tue, 13 Jul 2010 17:48:30 -0700 Subject: IME events are now dispatched to native applications. And also: - APIs to show and hide the IME, and control its interaction with the app. - APIs to tell the app when its window resizes and needs to be redrawn. - API to tell the app the content rectangle of its window (to layout around the IME or status bar). There is still a problem with IME interaction -- we need a way for the app to deliver events to the IME before it handles them, so that for example the back key will close the IME instead of finishing the app. Change-Id: I37b75fc2ec533750ef36ca3aedd2f0cc0b5813cd --- include/ui/Input.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ui/Input.h') diff --git a/include/ui/Input.h b/include/ui/Input.h index a2e0ba06a2..a7d23d4854 100644 --- a/include/ui/Input.h +++ b/include/ui/Input.h @@ -43,7 +43,9 @@ enum { /* * Declare a concrete type for the NDK's input event forward declaration. */ -struct AInputEvent { }; +struct AInputEvent { + virtual ~AInputEvent() { } +}; namespace android { -- cgit v1.2.3-59-g8ed1b