//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::Foundation::*;
use crate::LocalAuthentication::*;
use crate::LocalAuthenticationEmbeddedUI::*;

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    #[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
    pub struct LAAuthenticationView;

    #[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
    unsafe impl ClassType for LAAuthenticationView {
        #[inherits(NSResponder, NSObject)]
        type Super = NSView;
        type Mutability = InteriorMutable;
    }
);

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSAccessibility for LAAuthenticationView {}

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSAccessibilityElementProtocol for LAAuthenticationView {}

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSAnimatablePropertyContainer for LAAuthenticationView {}

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSAppearanceCustomization for LAAuthenticationView {}

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSCoding for LAAuthenticationView {}

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSDraggingDestination for LAAuthenticationView {}

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSObjectProtocol for LAAuthenticationView {}

#[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
unsafe impl NSUserInterfaceItemIdentification for LAAuthenticationView {}

extern_methods!(
    #[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
    unsafe impl LAAuthenticationView {
        #[method_id(@__retain_semantics Init initWithFrame:)]
        pub unsafe fn initWithFrame(this: Option<Allocated<Self>>, frame_rect: NSRect) -> Id<Self>;

        #[cfg(feature = "Foundation_NSCoder")]
        #[method_id(@__retain_semantics Init initWithCoder:)]
        pub unsafe fn initWithCoder(this: Option<Allocated<Self>>, coder: &NSCoder) -> Id<Self>;

        #[cfg(feature = "LocalAuthentication_LAContext")]
        #[method_id(@__retain_semantics Init initWithContext:)]
        pub unsafe fn initWithContext(
            this: Option<Allocated<Self>>,
            context: &LAContext,
        ) -> Id<Self>;

        #[cfg(feature = "LocalAuthentication_LAContext")]
        #[method_id(@__retain_semantics Init initWithContext:controlSize:)]
        pub unsafe fn initWithContext_controlSize(
            this: Option<Allocated<Self>>,
            context: &LAContext,
            control_size: NSControlSize,
        ) -> Id<Self>;

        #[cfg(feature = "LocalAuthentication_LAContext")]
        #[method_id(@__retain_semantics Other context)]
        pub unsafe fn context(&self) -> Id<LAContext>;

        #[method(controlSize)]
        pub unsafe fn controlSize(&self) -> NSControlSize;
    }
);

extern_methods!(
    /// Methods declared on superclass `NSResponder`
    #[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
    unsafe impl LAAuthenticationView {
        #[method_id(@__retain_semantics Init init)]
        pub unsafe fn init(this: Option<Allocated<Self>>) -> Id<Self>;
    }
);

extern_methods!(
    /// Methods declared on superclass `NSObject`
    #[cfg(feature = "LocalAuthenticationEmbeddedUI_LAAuthenticationView")]
    unsafe impl LAAuthenticationView {
        #[method_id(@__retain_semantics New new)]
        pub unsafe fn new() -> Id<Self>;
    }
);
