objc2_identity_lookup/generated/
ILCallCommunication.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10    /// [Apple's documentation](https://developer.apple.com/documentation/identitylookup/ilcallcommunication?language=objc)
11    #[unsafe(super(ILCommunication, NSObject))]
12    #[derive(Debug, PartialEq, Eq, Hash)]
13    #[cfg(feature = "ILCommunication")]
14    pub struct ILCallCommunication;
15);
16
17#[cfg(feature = "ILCommunication")]
18extern_conformance!(
19    unsafe impl NSCoding for ILCallCommunication {}
20);
21
22#[cfg(feature = "ILCommunication")]
23extern_conformance!(
24    unsafe impl NSObjectProtocol for ILCallCommunication {}
25);
26
27#[cfg(feature = "ILCommunication")]
28extern_conformance!(
29    unsafe impl NSSecureCoding for ILCallCommunication {}
30);
31
32#[cfg(feature = "ILCommunication")]
33impl ILCallCommunication {
34    extern_methods!(
35        #[unsafe(method(isEqualToCallCommunication:))]
36        #[unsafe(method_family = none)]
37        pub unsafe fn isEqualToCallCommunication(
38            &self,
39            communication: &ILCallCommunication,
40        ) -> bool;
41
42        #[unsafe(method(init))]
43        #[unsafe(method_family = init)]
44        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
45    );
46}
47
48/// Methods declared on superclass `NSObject`.
49#[cfg(feature = "ILCommunication")]
50impl ILCallCommunication {
51    extern_methods!(
52        #[unsafe(method(new))]
53        #[unsafe(method_family = new)]
54        pub unsafe fn new() -> Retained<Self>;
55    );
56}