summaryrefslogtreecommitdiffstats
path: root/core/jni/android_view_InputChannel.h
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-06-18 18:09:33 -0700
committerDianne Hackborn <hackbod@google.com>2010-06-22 11:21:50 -0700
commita95e4cb62f3642cb190d032dbf7dc40d9ecc6973 (patch)
treeae4437444a3d3ebeff48dabfd1e9c11fc14620ac /core/jni/android_view_InputChannel.h
parentef730e6ececa96a3e0576140eea707f7c48cd66c (diff)
downloadframeworks_base-a95e4cb62f3642cb190d032dbf7dc40d9ecc6973.zip
frameworks_base-a95e4cb62f3642cb190d032dbf7dc40d9ecc6973.tar.gz
frameworks_base-a95e4cb62f3642cb190d032dbf7dc40d9ecc6973.tar.bz2
First stab at attaching native event dispatching.
Provides the basic infrastructure for a NativeActivity's native code to get an object representing its event stream that can be used to read input events. Still work to do, probably some API changes, and reasonable default key handling (so that for example back will still work). Change-Id: I6db891bc35dc9683181d7708eaed552b955a077e
Diffstat (limited to 'core/jni/android_view_InputChannel.h')
-rw-r--r--core/jni/android_view_InputChannel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/android_view_InputChannel.h b/core/jni/android_view_InputChannel.h
index ac1defb..fa2d282 100644
--- a/core/jni/android_view_InputChannel.h
+++ b/core/jni/android_view_InputChannel.h
@@ -19,9 +19,9 @@
#include "jni.h"
-namespace android {
+#include <ui/InputTransport.h>
-class InputChannel;
+namespace android {
typedef void (*InputChannelObjDisposeCallback)(JNIEnv* env, jobject inputChannelObj,
const sp<InputChannel>& inputChannel, void* data);