//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nsaccessibilitycolor?language=objc)
    pub unsafe trait NSAccessibilityColor {
        /// Returns a localized description of the color for use in accessibility attributes.
        #[unsafe(method(accessibilityName))]
        #[unsafe(method_family = none)]
        fn accessibilityName(&self) -> Retained<NSString>;
    }
);

/// NSAccessibilityColorConformance.
#[cfg(feature = "NSColor")]
impl NSColor {
    extern_methods!();
}

#[cfg(feature = "NSColor")]
extern_conformance!(
    unsafe impl NSAccessibilityColor for NSColor {}
);
