use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct PHAdjustmentData;
);
extern_conformance!(
unsafe impl NSObjectProtocol for PHAdjustmentData {}
);
impl PHAdjustmentData {
extern_methods!(
#[unsafe(method(initWithFormatIdentifier:formatVersion:data:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithFormatIdentifier_formatVersion_data(
this: Allocated<Self>,
format_identifier: &NSString,
format_version: &NSString,
data: &NSData,
) -> Retained<Self>;
#[unsafe(method(formatIdentifier))]
#[unsafe(method_family = none)]
pub unsafe fn formatIdentifier(&self) -> Retained<NSString>;
#[unsafe(method(formatVersion))]
#[unsafe(method_family = none)]
pub unsafe fn formatVersion(&self) -> Retained<NSString>;
#[unsafe(method(data))]
#[unsafe(method_family = none)]
pub unsafe fn data(&self) -> Retained<NSData>;
);
}
impl PHAdjustmentData {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}