2016-03-02 13:06:13 +11:00
|
|
|
#![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))]
|
2015-04-30 15:49:46 +10:00
|
|
|
|
2017-03-11 09:56:31 +11:00
|
|
|
pub use self::window::{Window, WindowId};
|
2017-05-25 23:19:13 +10:00
|
|
|
pub use self::event_loop::{EventsLoop, EventsLoopProxy};
|
2016-10-08 06:10:21 +11:00
|
|
|
pub use self::context::{WaylandContext, MonitorId, get_available_monitors,
|
|
|
|
get_primary_monitor};
|
2015-05-13 16:32:20 +10:00
|
|
|
|
2017-03-05 00:04:01 +11:00
|
|
|
use self::window::{make_wid, DecoratedHandler};
|
|
|
|
use self::event_loop::EventsLoopSink;
|
|
|
|
|
2015-05-15 05:46:29 +10:00
|
|
|
extern crate wayland_kbd;
|
2015-08-16 22:12:21 +10:00
|
|
|
extern crate wayland_window;
|
2017-05-24 05:53:17 +10:00
|
|
|
extern crate tempfile;
|
2015-04-30 15:49:46 +10:00
|
|
|
|
2015-12-09 09:30:17 +11:00
|
|
|
mod context;
|
2017-03-05 00:04:01 +11:00
|
|
|
mod event_loop;
|
2016-10-10 01:03:00 +11:00
|
|
|
mod keyboard;
|
2015-12-09 08:54:06 +11:00
|
|
|
mod window;
|
2017-04-23 06:52:35 +10:00
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
|
|
pub struct DeviceId;
|