use crate::common::*;
use crate::AppKit::*;
use crate::CoreData::*;
use crate::Foundation::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "AppKit_NSMovie")]
#[deprecated]
pub struct NSMovie;
#[cfg(feature = "AppKit_NSMovie")]
unsafe impl ClassType for NSMovie {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
#[cfg(feature = "AppKit_NSMovie")]
unsafe impl NSCoding for NSMovie {}
#[cfg(feature = "AppKit_NSMovie")]
unsafe impl NSObjectProtocol for NSMovie {}
extern_methods!(
#[cfg(feature = "AppKit_NSMovie")]
unsafe impl NSMovie {
#[cfg(feature = "Foundation_NSCoder")]
#[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!(
#[cfg(feature = "AppKit_NSMovie")]
unsafe impl NSMovie {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);