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

use crate::*;

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

    #[cfg(feature = "UIWindowScenePlacement")]
    unsafe impl ClassType for UIWindowSceneStandardPlacement {
        #[inherits(NSObject)]
        type Super = UIWindowScenePlacement;
        type Mutability = InteriorMutable;
    }
);

#[cfg(feature = "UIWindowScenePlacement")]
unsafe impl NSCopying for UIWindowSceneStandardPlacement {}

#[cfg(feature = "UIWindowScenePlacement")]
unsafe impl NSObjectProtocol for UIWindowSceneStandardPlacement {}

extern_methods!(
    #[cfg(feature = "UIWindowScenePlacement")]
    unsafe impl UIWindowSceneStandardPlacement {
        #[method_id(@__retain_semantics Other standardPlacement)]
        pub unsafe fn standardPlacement() -> Retained<Self>;
    }
);

extern_methods!(
    /// Methods declared on superclass `UIWindowScenePlacement`
    #[cfg(feature = "UIWindowScenePlacement")]
    unsafe impl UIWindowSceneStandardPlacement {
        #[method_id(@__retain_semantics Init init)]
        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;

        #[method_id(@__retain_semantics New new)]
        pub unsafe fn new() -> Retained<Self>;
    }
);
