1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::Foundation::*;
use crate::MailKit::*;

extern_protocol!(
    pub unsafe trait MEExtension: NSObjectProtocol {
        #[cfg(feature = "MailKit_MEComposeSession")]
        #[optional]
        #[method_id(@__retain_semantics Other handlerForComposeSession:)]
        unsafe fn handlerForComposeSession(
            &self,
            session: &MEComposeSession,
        ) -> Id<ProtocolObject<dyn MEComposeSessionHandler>, Shared>;

        #[optional]
        #[method_id(@__retain_semantics Other handlerForMessageActions)]
        unsafe fn handlerForMessageActions(
            &self,
        ) -> Id<ProtocolObject<dyn MEMessageActionHandler>, Shared>;

        #[optional]
        #[method_id(@__retain_semantics Other handlerForContentBlocker)]
        unsafe fn handlerForContentBlocker(
            &self,
        ) -> Id<ProtocolObject<dyn MEContentBlocker>, Shared>;

        #[optional]
        #[method_id(@__retain_semantics Other handlerForMessageSecurity)]
        unsafe fn handlerForMessageSecurity(
            &self,
        ) -> Id<ProtocolObject<dyn MEMessageSecurityHandler>, Shared>;
    }

    unsafe impl ProtocolType for dyn MEExtension {}
);