objc2_identity_lookup/generated/
ILCommunication.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 pub struct ILCommunication;
16);
17
18extern_conformance!(
19 unsafe impl NSCoding for ILCommunication {}
20);
21
22extern_conformance!(
23 unsafe impl NSObjectProtocol for ILCommunication {}
24);
25
26extern_conformance!(
27 unsafe impl NSSecureCoding for ILCommunication {}
28);
29
30impl ILCommunication {
31 extern_methods!(
32 #[unsafe(method(sender))]
34 #[unsafe(method_family = none)]
35 pub unsafe fn sender(&self) -> Option<Retained<NSString>>;
36
37 #[unsafe(method(dateReceived))]
38 #[unsafe(method_family = none)]
39 pub unsafe fn dateReceived(&self) -> Retained<NSDate>;
40
41 #[unsafe(method(isEqualToCommunication:))]
42 #[unsafe(method_family = none)]
43 pub unsafe fn isEqualToCommunication(&self, communication: &ILCommunication) -> bool;
44
45 #[unsafe(method(init))]
46 #[unsafe(method_family = init)]
47 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
48 );
49}
50
51impl ILCommunication {
53 extern_methods!(
54 #[unsafe(method(new))]
55 #[unsafe(method_family = new)]
56 pub unsafe fn new() -> Retained<Self>;
57 );
58}