aboutsummaryrefslogtreecommitdiffstats
path: root/src/android/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/mod.rs')
-rw-r--r--src/android/mod.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs
index 8093d50..8bc82ce 100644
--- a/src/android/mod.rs
+++ b/src/android/mod.rs
@@ -207,6 +207,10 @@ impl Window {
pub fn set_inner_size(&self, _x: uint, _y: uint) {
}
+ pub fn create_window_proxy(&self) -> WindowProxy {
+ WindowProxy
+ }
+
pub fn poll_events(&self) -> Vec<Event> {
use std::time::Duration;
use std::io::timer;
@@ -271,6 +275,16 @@ impl Window {
}
}
+#[cfg(feature = "window")]
+#[deriving(Clone)]
+pub struct WindowProxy;
+
+impl WindowProxy {
+ pub fn wakeup_event_loop(&self) {
+ unimplemented!()
+ }
+}
+
#[unsafe_destructor]
impl Drop for Window {
fn drop(&mut self) {