#[cfg(target_os = "macos")]
mod mac;
#[cfg(target_os = "windows")]
mod win;
#[cfg(target_os = "linux")]
mod linux;
pub fn has_permission() -> bool {
#[cfg(target_os = "macos")]
return mac::has_permission();
#[cfg(target_os = "windows")]
return true;
#[cfg(target_os = "linux")]
return true;
}
pub fn request_permission() -> bool {
#[cfg(target_os = "macos")]
return mac::request_permission();
#[cfg(target_os = "windows")]
return true;
#[cfg(target_os = "linux")]
return true;
}
pub fn is_supported() -> bool {
#[cfg(target_os = "macos")]
return mac::is_supported();
#[cfg(target_os = "windows")]
return win::is_supported();
#[cfg(target_os = "linux")]
return linux::is_supported();
}