1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#![warn(missing_docs)]
#![doc(html_logo_url = "http://plopgrizzly.com/awi/icon.png",
html_favicon_url = "http://plopgrizzly.com/awi/icon.svg",
html_root_url = "http://plopgrizzly.com/awi/")]
extern crate stick;
pub extern crate afi;
#[cfg(target_os="windows")] extern crate winapi;
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly",
target_os = "bitrig", target_os = "openbsd", target_os = "netbsd",
target_os = "macos", target_os = "android"))]
#[macro_use] extern crate dl_api;
pub(crate) mod input;
pub(crate) mod window_connection;
pub(crate) mod window;
pub(crate) mod window_ops;
#[cfg(target_os = "windows")] pub(crate) mod os { mod windows; pub use self::windows::*; }
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "bitrig", target_os = "openbsd", target_os = "netbsd"))] pub(crate) mod os { mod linux; pub use self::linux::*; }
#[cfg(target_os = "pi")] pub(crate) mod os { mod pi; pub use self::pi::*; }
#[cfg(target_os = "splat")] pub(crate) mod os { mod deskron; pub use self::deskron::*; }
#[cfg(target_os = "android")] pub(crate) mod os { mod android; pub use self::android::*; }
#[cfg(any(target_os = "macos", target_os = "ios"))] pub(crate) mod os { mod apple; pub use self::apple::*; }
#[cfg(target_arch = "wasm32")] pub(crate) mod os { mod web; pub use self::web::*; }
#[cfg(target_os = "switch")] pub(crate) mod os { mod switch; pub use self::switch::*; }
#[cfg(target_os = "redox")] pub(crate) mod os { mod redox; pub use self::redox::*; }
#[cfg(target_os = "xbox")] pub(crate) mod os { mod xbox; pub use self::xbox::*; }
pub(crate) use std::os::raw::c_void;
pub(crate) use input::keyboard::Keyboard;
pub use input::Input;
pub use window_connection::WindowConnection;
pub use window::Window;
pub use window_ops::WindowOps;