From bfbc46251196b58c31ce3b633597208d8132f953 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Sat, 11 Oct 2014 11:06:21 +0200 Subject: Change implementations import system --- src/lib.rs | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 8a318a5..041ebeb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,22 +43,17 @@ pub use events::*; use std::default::Default; #[cfg(target_os = "windows")] -use win32 as winimpl; +#[path="win32/mod.rs"] +mod winimpl; #[cfg(target_os = "linux")] -use x11 as winimpl; +#[path="x11/mod.rs"] +mod winimpl; #[cfg(target_os = "macos")] -use osx as winimpl; +#[path="osx/mod.rs"] +mod winimpl; #[cfg(target_os = "android")] -use android as winimpl; - -#[cfg(target_os = "windows")] -mod win32; -#[cfg(target_os = "linux")] -mod x11; -#[cfg(target_os = "macos")] -mod osx; -#[cfg(target_os = "android")] -mod android; +#[path="android/mod.rs"] +mod winimpl; mod events; -- cgit v1.2.3