winit/src/platform/linux/wayland/mod.rs

22 lines
638 B
Rust
Raw Normal View History

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