linux.rs

 1mod dispatcher;
 2mod headless;
 3mod platform;
 4#[cfg(any(feature = "wayland", feature = "x11"))]
 5mod text_system;
 6#[cfg(feature = "wayland")]
 7mod wayland;
 8#[cfg(feature = "x11")]
 9mod x11;
10
11#[cfg(any(feature = "wayland", feature = "x11"))]
12mod xdg_desktop_portal;
13
14pub(crate) use dispatcher::*;
15pub(crate) use headless::*;
16pub(crate) use platform::*;
17#[cfg(any(feature = "wayland", feature = "x11"))]
18pub(crate) use text_system::*;
19#[cfg(feature = "wayland")]
20pub(crate) use wayland::*;
21#[cfg(feature = "x11")]
22pub(crate) use x11::*;
23
24#[cfg(any(feature = "wayland", feature = "x11"))]
25pub(crate) type PlatformScreenCaptureFrame = scap::frame::Frame;
26#[cfg(not(any(feature = "wayland", feature = "x11")))]
27pub(crate) type PlatformScreenCaptureFrame = ();