objc2_security_interface/generated/
SFChooseIdentityTableCellView.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(NSTableCellView, NSView, NSResponder, NSObject))]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 pub struct SFChooseIdentityTableCellView;
16);
17
18extern_conformance!(
19 unsafe impl NSAccessibility for SFChooseIdentityTableCellView {}
20);
21
22extern_conformance!(
23 unsafe impl NSAccessibilityElementProtocol for SFChooseIdentityTableCellView {}
24);
25
26extern_conformance!(
27 unsafe impl NSAnimatablePropertyContainer for SFChooseIdentityTableCellView {}
28);
29
30extern_conformance!(
31 unsafe impl NSAppearanceCustomization for SFChooseIdentityTableCellView {}
32);
33
34extern_conformance!(
35 unsafe impl NSCoding for SFChooseIdentityTableCellView {}
36);
37
38extern_conformance!(
39 unsafe impl NSDraggingDestination for SFChooseIdentityTableCellView {}
40);
41
42extern_conformance!(
43 unsafe impl NSObjectProtocol for SFChooseIdentityTableCellView {}
44);
45
46extern_conformance!(
47 unsafe impl NSUserInterfaceItemIdentification for SFChooseIdentityTableCellView {}
48);
49
50impl SFChooseIdentityTableCellView {
51 extern_methods!(
52 #[unsafe(method(issuerTextField))]
56 #[unsafe(method_family = none)]
57 pub unsafe fn issuerTextField(&self) -> Option<Retained<NSTextField>>;
58
59 #[unsafe(method(setIssuerTextField:))]
66 #[unsafe(method_family = none)]
67 pub unsafe fn setIssuerTextField(&self, issuer_text_field: Option<&NSTextField>);
68 );
69}
70
71impl SFChooseIdentityTableCellView {
73 extern_methods!(
74 #[unsafe(method(initWithFrame:))]
75 #[unsafe(method_family = init)]
76 pub unsafe fn initWithFrame(this: Allocated<Self>, frame_rect: NSRect) -> Retained<Self>;
77
78 #[unsafe(method(initWithCoder:))]
82 #[unsafe(method_family = init)]
83 pub unsafe fn initWithCoder(
84 this: Allocated<Self>,
85 coder: &NSCoder,
86 ) -> Option<Retained<Self>>;
87 );
88}
89
90impl SFChooseIdentityTableCellView {
92 extern_methods!(
93 #[unsafe(method(init))]
94 #[unsafe(method_family = init)]
95 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
96 );
97}
98
99impl SFChooseIdentityTableCellView {
101 extern_methods!(
102 #[unsafe(method(new))]
103 #[unsafe(method_family = new)]
104 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
105 );
106}