| 1 | use gpui_kit::Window; |
| 2 | |
| 3 | use super::{NativeHandle, TrayCommand, WorkArea}; |
| 4 | use crate::notify::badge::Badge; |
| 5 | |
| 6 | pub fn native_handle(_window: &Window) -> Option<NativeHandle> { |
| 7 | None |
| 8 | } |
| 9 | |
| 10 | pub fn prepare_toast_window(_handle: NativeHandle) {} |
| 11 | |
| 12 | pub fn set_activatable(_handle: NativeHandle, _activatable: bool) {} |
| 13 | |
| 14 | pub fn work_area(_handle: NativeHandle) -> Option<WorkArea> { |
| 15 | None |
| 16 | } |
| 17 | |
| 18 | pub fn place(_handle: NativeHandle, _x: i32, _y: i32, _width: i32, _height: i32) {} |
| 19 | |
| 20 | pub fn system_quiet() -> bool { |
| 21 | false |
| 22 | } |
| 23 | |
| 24 | pub fn restore_and_raise(_handle: NativeHandle) {} |
| 25 | |
| 26 | pub fn hide_window(_handle: NativeHandle) {} |
| 27 | |
| 28 | pub fn flash(_handle: NativeHandle) {} |
| 29 | |
| 30 | pub fn stop_flash(_handle: NativeHandle) {} |
| 31 | |
| 32 | pub fn set_badge(_handle: NativeHandle, _badge: Option<&Badge>) {} |
| 33 | |
| 34 | pub fn play_sound() {} |
| 35 | |
| 36 | pub struct Tray; |
| 37 | |
| 38 | impl Tray { |
| 39 | pub fn new(_sound_on: bool, _do_not_disturb: bool) -> Option<Self> { |
| 40 | None |
| 41 | } |
| 42 | |
| 43 | pub fn poll(&self) -> Vec<TrayCommand> { |
| 44 | Vec::new() |
| 45 | } |
| 46 | |
| 47 | pub fn sync(&self, _sound_on: bool, _do_not_disturb: bool, _mention: bool) {} |
| 48 | } |
| 49 | |
| 50 | |
| 51 | pub fn animations_enabled() -> bool { |
| 52 | true |
| 53 | } |