Retrieve the monitors and their info for osx

This commit is contained in:
David Partouche 2014-11-04 18:03:38 +01:00
parent 605bf39b78
commit 9dd592600a
4 changed files with 57 additions and 20 deletions

View file

@ -37,6 +37,8 @@ extern crate libc;
extern crate cocoa;
#[cfg(target_os = "macos")]
extern crate core_foundation;
#[cfg(target_os = "macos")]
extern crate core_graphics;
#[cfg(target_os = "linux")]
extern crate sync;