2014-10-05 04:17:02 +11:00
|
|
|
#[cfg(feature = "headless")]
|
|
|
|
pub use self::headless::HeadlessContext;
|
2014-07-27 23:10:58 +10:00
|
|
|
|
2014-10-05 04:17:02 +11:00
|
|
|
#[cfg(feature = "window")]
|
2014-12-17 15:49:11 +11:00
|
|
|
pub use self::window::{Window, WindowProxy, MonitorID, get_available_monitors, get_primary_monitor};
|
2014-09-19 23:42:47 +10:00
|
|
|
|
2014-07-27 23:10:58 +10:00
|
|
|
mod ffi;
|
|
|
|
|
2014-10-05 04:17:02 +11:00
|
|
|
#[cfg(feature = "headless")]
|
|
|
|
mod headless;
|
2014-07-27 23:10:58 +10:00
|
|
|
|
2014-10-05 04:17:02 +11:00
|
|
|
#[cfg(feature = "window")]
|
|
|
|
mod window;
|
2014-12-29 01:08:41 +11:00
|
|
|
|
|
|
|
#[cfg(not(feature = "window"))]
|
|
|
|
pub type Window = (); // TODO: hack to make things work
|
|
|
|
#[cfg(not(feature = "window"))]
|
|
|
|
pub type MonitorID = (); // TODO: hack to make things work
|