pub mod types;
#[cfg(target_os = "macos")]
pub mod macos;
#[cfg(target_os = "windows")]
pub mod windows;
#[cfg(not(any(target_os = "macos", target_os = "windows")))]
pub mod noop;
pub use types::{
KeyboardEvent, KeyboardEventType, MouseEvent, MouseEventType, ScrollDirection, ScrollMagnitude,
SensorEvent, ShortcutEvent, ShortcutType,
};
#[cfg(target_os = "macos")]
pub use macos::{
check_permission, get_frontmost_app_id, CollectorConfig, CollectorError, MacOSCollector,
};
#[cfg(target_os = "macos")]
pub type Collector = MacOSCollector;
#[cfg(target_os = "windows")]
pub use windows::{
check_permission, get_frontmost_app_id, CollectorConfig, CollectorError, WindowsCollector,
};
#[cfg(target_os = "windows")]
pub type Collector = WindowsCollector;
#[cfg(not(any(target_os = "macos", target_os = "windows")))]
pub use noop::{
check_permission, get_frontmost_app_id, CollectorConfig, CollectorError, NoopCollector,
};
#[cfg(not(any(target_os = "macos", target_os = "windows")))]
pub type Collector = NoopCollector;