13 lines
280 B
Rust
13 lines
280 B
Rust
#[cfg(feature = "headless")]
|
|
pub use self::headless::HeadlessContext;
|
|
|
|
#[cfg(feature = "window")]
|
|
pub use self::window::{Window, MonitorID, get_available_monitors, get_primary_monitor};
|
|
|
|
mod ffi;
|
|
|
|
#[cfg(feature = "headless")]
|
|
mod headless;
|
|
|
|
#[cfg(feature = "window")]
|
|
mod window;
|