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