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

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

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

#[cfg(feature = "PhotoKit_PHAdjustmentData")]
unsafe impl NSObjectProtocol for PHAdjustmentData {}

extern_methods!(
    #[cfg(feature = "PhotoKit_PHAdjustmentData")]
    unsafe impl PHAdjustmentData {
        #[cfg(all(feature = "Foundation_NSData", feature = "Foundation_NSString"))]
        #[method_id(@__retain_semantics Init initWithFormatIdentifier:formatVersion:data:)]
        pub unsafe fn initWithFormatIdentifier_formatVersion_data(
            this: Option<Allocated<Self>>,
            format_identifier: &NSString,
            format_version: &NSString,
            data: &NSData,
        ) -> Id<Self>;

        #[cfg(feature = "Foundation_NSString")]
        #[method_id(@__retain_semantics Other formatIdentifier)]
        pub unsafe fn formatIdentifier(&self) -> Id<NSString>;

        #[cfg(feature = "Foundation_NSString")]
        #[method_id(@__retain_semantics Other formatVersion)]
        pub unsafe fn formatVersion(&self) -> Id<NSString>;

        #[cfg(feature = "Foundation_NSData")]
        #[method_id(@__retain_semantics Other data)]
        pub unsafe fn data(&self) -> Id<NSData>;
    }
);

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

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