aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/mod.rs')
-rw-r--r--src/win32/mod.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index 5ba5a26..099c126 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -83,6 +83,16 @@ impl Window {
}
}
+#[cfg(feature = "window")]
+#[deriving(Clone)]
+pub struct WindowProxy;
+
+impl WindowProxy {
+ pub fn wakeup_event_loop(&self) {
+ // TODO
+ }
+}
+
impl Window {
/// See the docs in the crate root file.
pub fn is_closed(&self) -> bool {
@@ -180,6 +190,10 @@ impl Window {
}
}
+ pub fn create_window_proxy(&self) -> WindowProxy {
+ WindowProxy
+ }
+
/// See the docs in the crate root file.
// TODO: return iterator
pub fn poll_events(&self) -> Vec<Event> {