use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[deprecated]
pub struct NSMovie;
unsafe impl ClassType for NSMovie {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSMovie {}
unsafe impl NSObjectProtocol for NSMovie {}
extern_methods!(
unsafe impl NSMovie {
#[method_id(@__retain_semantics Init initWithCoder:)]
pub unsafe fn initWithCoder(this: Allocated<Self>, coder: &NSCoder) -> Option<Id<Self>>;
#[deprecated = "As of macOS 10.15 this method always returns nil."]
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Option<Id<Self>>;
}
);
extern_methods!(
unsafe impl NSMovie {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);