use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct MEAddressAnnotation;
unsafe impl ClassType for MEAddressAnnotation {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for MEAddressAnnotation {}
unsafe impl NSObjectProtocol for MEAddressAnnotation {}
unsafe impl NSSecureCoding for MEAddressAnnotation {}
extern_methods!(
unsafe impl MEAddressAnnotation {
#[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>;
#[method_id(@__retain_semantics Other errorWithLocalizedDescription:)]
pub unsafe fn errorWithLocalizedDescription(
localized_description: &NSString,
) -> Retained<MEAddressAnnotation>;
#[method_id(@__retain_semantics Other warningWithLocalizedDescription:)]
pub unsafe fn warningWithLocalizedDescription(
localized_description: &NSString,
) -> Retained<MEAddressAnnotation>;
#[method_id(@__retain_semantics Other successWithLocalizedDescription:)]
pub unsafe fn successWithLocalizedDescription(
localized_description: &NSString,
) -> Retained<MEAddressAnnotation>;
}
);