use objc2::__framework_prelude::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct CMAuthorizationStatus(pub NSInteger);
impl CMAuthorizationStatus {
#[doc(alias = "CMAuthorizationStatusNotDetermined")]
pub const NotDetermined: Self = Self(0);
#[doc(alias = "CMAuthorizationStatusRestricted")]
pub const Restricted: Self = Self(1);
#[doc(alias = "CMAuthorizationStatusDenied")]
pub const Denied: Self = Self(2);
#[doc(alias = "CMAuthorizationStatusAuthorized")]
pub const Authorized: Self = Self(3);
}
unsafe impl Encode for CMAuthorizationStatus {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for CMAuthorizationStatus {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}