use std::sync::Arc; use std::sync::atomic::AtomicBool; use gpui_kit::Window; use calling::ShareKind; use super::{NativeHandle, ScreenRect, ShareGeometry, TrayCommand, WorkArea}; use crate::notify::badge::Badge; pub fn native_handle(_window: &Window) -> Option { None } pub fn prepare_toast_window(_handle: NativeHandle) {} pub fn set_activatable(_handle: NativeHandle, _activatable: bool) {} pub fn work_area(_handle: NativeHandle) -> Option { None } pub fn work_area_at(_x: i32, _y: i32) -> Option { None } pub fn place(_handle: NativeHandle, _x: i32, _y: i32, _width: i32, _height: i32) {} pub fn place_rect(_handle: NativeHandle, _x: i32, _y: i32, _width: i32, _height: i32) {} pub fn stack_group_above(_shared: NativeHandle, _group: &[NativeHandle]) {} pub fn show_window_inactive(_handle: NativeHandle) {} pub fn exclude_from_capture(_handle: NativeHandle) {} #[cfg(target_os = "linux")] pub fn make_window_click_through(window: &Window) { super::x11_input::make_input_transparent(window); } #[cfg(not(target_os = "linux"))] pub fn make_window_click_through(_window: &Window) {} pub fn window_minimized(_handle: NativeHandle) -> bool { false } pub fn window_rect(_handle: NativeHandle) -> Option { None } pub fn share_geometry(_kind: ShareKind, _id: u64) -> Option { None } pub fn system_quiet() -> bool { false } pub fn restore_and_raise(_handle: NativeHandle) {} pub fn hide_window(_handle: NativeHandle) {} pub fn flash(_handle: NativeHandle) {} pub fn stop_flash(_handle: NativeHandle) {} pub fn set_badge(_handle: NativeHandle, _badge: Option<&Badge>) {} pub fn play_sound() {} pub fn play_mp3(_bytes: Vec) {} pub fn play_mp3_until(_bytes: Vec, _looped: bool, _stop: Arc) {} pub struct Tray; impl Tray { pub fn new(_sound_on: bool, _do_not_disturb: bool) -> Option { None } pub fn poll(&self) -> Vec { Vec::new() } pub fn sync(&self, _sound_on: bool, _do_not_disturb: bool, _mention: bool) {} } pub fn animations_enabled() -> bool { true }