BlueGit

ict rusty-teams

Files

rusty-teams / crates / app / src / notify / platform / mod.rs

mod.rs

mod.rs 499 B Download Raw
1#[cfg(windows)]
2mod windows_impl;
3#[cfg(windows)]
4pub use windows_impl::*;
5
6#[cfg(not(windows))]
7mod stub;
8#[cfg(not(windows))]
9pub use stub::*;
10
11pub type NativeHandle = isize;
12
13#[derive(Debug, Clone, Copy, PartialEq)]
14pub struct WorkArea {
15 pub left: i32,
16 pub top: i32,
17 pub right: i32,
18 pub bottom: i32,
19 pub scale: f32,
20}
21
22#[derive(Debug, Clone, Copy, PartialEq, Eq)]
23pub enum TrayCommand {
24 Toggle,
25 Open,
26 ToggleSound,
27 ToggleDoNotDisturb,
28 Settings,
29 Quit,
30}