objc2_app_kit/generated/
NSMovie.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[derive(Debug, PartialEq, Eq, Hash)]
13 #[deprecated]
14 pub struct NSMovie;
15);
16
17unsafe impl NSCoding for NSMovie {}
18
19unsafe impl NSObjectProtocol for NSMovie {}
20
21impl NSMovie {
22 extern_methods!(
23 #[unsafe(method(initWithCoder:))]
24 #[unsafe(method_family = init)]
25 pub unsafe fn initWithCoder(
26 this: Allocated<Self>,
27 coder: &NSCoder,
28 ) -> Option<Retained<Self>>;
29
30 #[deprecated = "As of macOS 10.15 this method always returns nil."]
31 #[unsafe(method(init))]
32 #[unsafe(method_family = init)]
33 pub unsafe fn init(this: Allocated<Self>) -> Option<Retained<Self>>;
34 );
35}
36
37impl NSMovie {
39 extern_methods!(
40 #[unsafe(method(new))]
41 #[unsafe(method_family = new)]
42 pub unsafe fn new() -> Retained<Self>;
43 );
44}