objc2_extension_kit/generated/
EXAppExtensionBrowserViewController.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5#[cfg(feature = "objc2-app-kit")]
6#[cfg(target_os = "macos")]
7use objc2_app_kit::*;
8use objc2_foundation::*;
9
10use crate::*;
11
12extern_class!(
13 #[unsafe(super(NSViewController, NSResponder, NSObject))]
17 #[derive(Debug, PartialEq, Eq, Hash)]
18 #[cfg(feature = "objc2-app-kit")]
19 #[cfg(target_os = "macos")]
20 pub struct EXAppExtensionBrowserViewController;
21);
22
23#[cfg(feature = "objc2-app-kit")]
24#[cfg(target_os = "macos")]
25extern_conformance!(
26 unsafe impl NSCoding for EXAppExtensionBrowserViewController {}
27);
28
29#[cfg(feature = "objc2-app-kit")]
30#[cfg(target_os = "macos")]
31extern_conformance!(
32 unsafe impl NSEditor for EXAppExtensionBrowserViewController {}
33);
34
35#[cfg(feature = "objc2-app-kit")]
36#[cfg(target_os = "macos")]
37extern_conformance!(
38 unsafe impl NSObjectProtocol for EXAppExtensionBrowserViewController {}
39);
40
41#[cfg(feature = "objc2-app-kit")]
42#[cfg(target_os = "macos")]
43extern_conformance!(
44 unsafe impl NSSeguePerforming for EXAppExtensionBrowserViewController {}
45);
46
47#[cfg(feature = "objc2-app-kit")]
48#[cfg(target_os = "macos")]
49extern_conformance!(
50 unsafe impl NSUserInterfaceItemIdentification for EXAppExtensionBrowserViewController {}
51);
52
53#[cfg(feature = "objc2-app-kit")]
54#[cfg(target_os = "macos")]
55impl EXAppExtensionBrowserViewController {
56 extern_methods!();
57}
58
59#[cfg(feature = "objc2-app-kit")]
61#[cfg(target_os = "macos")]
62impl EXAppExtensionBrowserViewController {
63 extern_methods!(
64 #[unsafe(method(initWithNibName:bundle:))]
65 #[unsafe(method_family = init)]
66 pub unsafe fn initWithNibName_bundle(
67 this: Allocated<Self>,
68 nib_name_or_nil: Option<&NSNibName>,
69 nib_bundle_or_nil: Option<&NSBundle>,
70 ) -> Retained<Self>;
71
72 #[unsafe(method(initWithCoder:))]
76 #[unsafe(method_family = init)]
77 pub unsafe fn initWithCoder(
78 this: Allocated<Self>,
79 coder: &NSCoder,
80 ) -> Option<Retained<Self>>;
81 );
82}
83
84#[cfg(feature = "objc2-app-kit")]
86#[cfg(target_os = "macos")]
87impl EXAppExtensionBrowserViewController {
88 extern_methods!(
89 #[unsafe(method(init))]
90 #[unsafe(method_family = init)]
91 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
92 );
93}
94
95#[cfg(feature = "objc2-app-kit")]
97#[cfg(target_os = "macos")]
98impl EXAppExtensionBrowserViewController {
99 extern_methods!(
100 #[unsafe(method(new))]
101 #[unsafe(method_family = new)]
102 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
103 );
104}