//! 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 = "NSMigrationStage")]
    pub struct NSLightweightMigrationStage;

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

#[cfg(feature = "NSMigrationStage")]
unsafe impl NSObjectProtocol for NSLightweightMigrationStage {}

extern_methods!(
    #[cfg(feature = "NSMigrationStage")]
    unsafe impl NSLightweightMigrationStage {
        #[method_id(@__retain_semantics Other versionChecksums)]
        pub unsafe fn versionChecksums(&self) -> Retained<NSArray<NSString>>;

        #[method_id(@__retain_semantics Init init)]
        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;

        #[method_id(@__retain_semantics Init initWithVersionChecksums:)]
        pub unsafe fn initWithVersionChecksums(
            this: Allocated<Self>,
            version_checksums: &NSArray<NSString>,
        ) -> Retained<Self>;
    }
);

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