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")]
25unsafe impl NSCoding for EXAppExtensionBrowserViewController {}
26
27#[cfg(feature = "objc2-app-kit")]
28#[cfg(target_os = "macos")]
29unsafe impl NSEditor for EXAppExtensionBrowserViewController {}
30
31#[cfg(feature = "objc2-app-kit")]
32#[cfg(target_os = "macos")]
33unsafe impl NSObjectProtocol for EXAppExtensionBrowserViewController {}
34
35#[cfg(feature = "objc2-app-kit")]
36#[cfg(target_os = "macos")]
37unsafe impl NSSeguePerforming for EXAppExtensionBrowserViewController {}
38
39#[cfg(feature = "objc2-app-kit")]
40#[cfg(target_os = "macos")]
41unsafe impl NSUserInterfaceItemIdentification for EXAppExtensionBrowserViewController {}
42
43#[cfg(feature = "objc2-app-kit")]
44#[cfg(target_os = "macos")]
45impl EXAppExtensionBrowserViewController {
46 extern_methods!();
47}
48
49#[cfg(feature = "objc2-app-kit")]
51#[cfg(target_os = "macos")]
52impl EXAppExtensionBrowserViewController {
53 extern_methods!(
54 #[unsafe(method(initWithNibName:bundle:))]
55 #[unsafe(method_family = init)]
56 pub unsafe fn initWithNibName_bundle(
57 this: Allocated<Self>,
58 nib_name_or_nil: Option<&NSNibName>,
59 nib_bundle_or_nil: Option<&NSBundle>,
60 ) -> Retained<Self>;
61
62 #[unsafe(method(initWithCoder:))]
63 #[unsafe(method_family = init)]
64 pub unsafe fn initWithCoder(
65 this: Allocated<Self>,
66 coder: &NSCoder,
67 ) -> Option<Retained<Self>>;
68 );
69}
70
71#[cfg(feature = "objc2-app-kit")]
73#[cfg(target_os = "macos")]
74impl EXAppExtensionBrowserViewController {
75 extern_methods!(
76 #[unsafe(method(init))]
77 #[unsafe(method_family = init)]
78 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
79 );
80}
81
82#[cfg(feature = "objc2-app-kit")]
84#[cfg(target_os = "macos")]
85impl EXAppExtensionBrowserViewController {
86 extern_methods!(
87 #[unsafe(method(new))]
88 #[unsafe(method_family = new)]
89 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
90 );
91}