objc2_quartz/generated/ImageKit/
IKFilterBrowserView.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_app_kit::*;
7use objc2_foundation::*;
8
9use crate::*;
10
11extern_class!(
12 #[unsafe(super(NSView, NSResponder, NSObject))]
23 #[derive(Debug, PartialEq, Eq, Hash)]
24 pub struct IKFilterBrowserView;
25);
26
27extern_conformance!(
28 unsafe impl NSAccessibility for IKFilterBrowserView {}
29);
30
31extern_conformance!(
32 unsafe impl NSAccessibilityElementProtocol for IKFilterBrowserView {}
33);
34
35extern_conformance!(
36 unsafe impl NSAnimatablePropertyContainer for IKFilterBrowserView {}
37);
38
39extern_conformance!(
40 unsafe impl NSAppearanceCustomization for IKFilterBrowserView {}
41);
42
43extern_conformance!(
44 unsafe impl NSCoding for IKFilterBrowserView {}
45);
46
47extern_conformance!(
48 unsafe impl NSDraggingDestination for IKFilterBrowserView {}
49);
50
51extern_conformance!(
52 unsafe impl NSObjectProtocol for IKFilterBrowserView {}
53);
54
55extern_conformance!(
56 unsafe impl NSUserInterfaceItemIdentification for IKFilterBrowserView {}
57);
58
59impl IKFilterBrowserView {
60 extern_methods!(
61 #[unsafe(method(setPreviewState:))]
67 #[unsafe(method_family = none)]
68 pub unsafe fn setPreviewState(&self, in_state: bool);
69
70 #[unsafe(method(filterName))]
74 #[unsafe(method_family = none)]
75 pub unsafe fn filterName(&self) -> Option<Retained<NSString>>;
76 );
77}
78
79impl IKFilterBrowserView {
81 extern_methods!(
82 #[unsafe(method(initWithFrame:))]
83 #[unsafe(method_family = init)]
84 pub unsafe fn initWithFrame(this: Allocated<Self>, frame_rect: NSRect) -> Retained<Self>;
85
86 #[unsafe(method(initWithCoder:))]
90 #[unsafe(method_family = init)]
91 pub unsafe fn initWithCoder(
92 this: Allocated<Self>,
93 coder: &NSCoder,
94 ) -> Option<Retained<Self>>;
95 );
96}
97
98impl IKFilterBrowserView {
100 extern_methods!(
101 #[unsafe(method(init))]
102 #[unsafe(method_family = init)]
103 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
104 );
105}
106
107impl IKFilterBrowserView {
109 extern_methods!(
110 #[unsafe(method(new))]
111 #[unsafe(method_family = new)]
112 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
113 );
114}