//! Fallback for unsupported OSes — every domain is NotApplicable.
use super::{Context, Domain, PermissionError, PermissionStatus};

pub fn status_with(_d: Domain, _ctx: &Context) -> Result<PermissionStatus, PermissionError> {
    Ok(PermissionStatus::NotApplicable)
}
pub fn request_with(_d: Domain, _ctx: &Context) -> Result<PermissionStatus, PermissionError> {
    Ok(PermissionStatus::NotApplicable)
}
pub fn describe(_d: Domain, _s: PermissionStatus) -> (String, Option<String>) {
    (
        "Unsupported OS — permissions not modeled.".to_string(),
        None,
    )
}
