From 1b25d705ce2110b097b98f37f5e7dd9dc3a9d82c Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Tue, 8 Dec 2015 22:54:06 +0100 Subject: api/wayland: move window and monitor to mods. --- src/api/wayland/monitor.rs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/api/wayland/monitor.rs (limited to 'src/api/wayland/monitor.rs') diff --git a/src/api/wayland/monitor.rs b/src/api/wayland/monitor.rs new file mode 100644 index 0000000..3a42f1f --- /dev/null +++ b/src/api/wayland/monitor.rs @@ -0,0 +1,28 @@ +use std::collections::VecDeque; + +#[derive(Clone)] +pub struct MonitorId; + +#[inline] +pub fn get_available_monitors() -> VecDeque { + unimplemented!() +} +#[inline] +pub fn get_primary_monitor() -> MonitorId { + unimplemented!() +} + +impl MonitorId { + pub fn get_name(&self) -> Option { + unimplemented!() + } + + #[inline] + pub fn get_native_identifier(&self) -> ::native_monitor::NativeMonitorId { + unimplemented!() + } + + pub fn get_dimensions(&self) -> (u32, u32) { + unimplemented!() + } +} \ No newline at end of file -- cgit v1.2.3