//! Everything that differs between operating systems lives in this module. //! Each platform file exposes the same items: //! //! - `VideoSurface`: composes mpv's output beneath the web view //! (`create`, `mpv_options`, `on_property`, `show`, `fit`, `set_rect`). //! - `SURFACE_PROPERTIES`: mpv properties the surface observes. //! - `MPV_LIBRARIES`: libmpv file names to look for. //! - `hold_awake`: prevents display sleep until the receiver closes. //! - `gpu_names`: the graphics adapters, by name. #[cfg(target_os = "windows")] mod windows; #[cfg(target_os = "windows")] pub use self::windows::*; #[cfg(target_os = "macos")] mod macos; #[cfg(target_os = "macos")] pub use self::macos::*; #[cfg(target_os = "linux")] mod linux; #[cfg(target_os = "linux")] pub use self::linux::*;