icrate/generated/IdentityLookup/
ILCommunication.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use crate::common::*;
4use crate::Foundation::*;
5use crate::IdentityLookup::*;
6
7extern_class!(
8    #[derive(Debug, PartialEq, Eq, Hash)]
9    #[cfg(feature = "IdentityLookup_ILCommunication")]
10    pub struct ILCommunication;
11
12    #[cfg(feature = "IdentityLookup_ILCommunication")]
13    unsafe impl ClassType for ILCommunication {
14        type Super = NSObject;
15        type Mutability = InteriorMutable;
16    }
17);
18
19#[cfg(feature = "IdentityLookup_ILCommunication")]
20unsafe impl NSCoding for ILCommunication {}
21
22#[cfg(feature = "IdentityLookup_ILCommunication")]
23unsafe impl NSObjectProtocol for ILCommunication {}
24
25#[cfg(feature = "IdentityLookup_ILCommunication")]
26unsafe impl NSSecureCoding for ILCommunication {}
27
28extern_methods!(
29    #[cfg(feature = "IdentityLookup_ILCommunication")]
30    unsafe impl ILCommunication {
31        #[cfg(feature = "Foundation_NSString")]
32        #[method_id(@__retain_semantics Other sender)]
33        pub unsafe fn sender(&self) -> Option<Id<NSString>>;
34
35        #[cfg(feature = "Foundation_NSDate")]
36        #[method_id(@__retain_semantics Other dateReceived)]
37        pub unsafe fn dateReceived(&self) -> Id<NSDate>;
38
39        #[method(isEqualToCommunication:)]
40        pub unsafe fn isEqualToCommunication(&self, communication: &ILCommunication) -> bool;
41
42        #[method_id(@__retain_semantics Init init)]
43        pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
44    }
45);
46
47extern_methods!(
48    /// Methods declared on superclass `NSObject`
49    #[cfg(feature = "IdentityLookup_ILCommunication")]
50    unsafe impl ILCommunication {
51        #[method_id(@__retain_semantics New new)]
52        pub unsafe fn new() -> Id<Self>;
53    }
54);