use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(UIConversationContext, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "UIConversationContext")]
pub struct UIMailConversationContext;
);
#[cfg(feature = "UIConversationContext")]
extern_conformance!(
unsafe impl NSObjectProtocol for UIMailConversationContext {}
);
#[cfg(feature = "UIConversationContext")]
impl UIMailConversationContext {
extern_methods!(
#[unsafe(method(responseSubject))]
#[unsafe(method_family = none)]
pub fn responseSubject(&self) -> Retained<NSString>;
#[unsafe(method(setResponseSubject:))]
#[unsafe(method_family = none)]
pub fn setResponseSubject(&self, response_subject: &NSString);
#[unsafe(method(responseHasCustomSignature))]
#[unsafe(method_family = none)]
pub fn responseHasCustomSignature(&self) -> bool;
#[unsafe(method(setResponseHasCustomSignature:))]
#[unsafe(method_family = none)]
pub fn setResponseHasCustomSignature(&self, response_has_custom_signature: bool);
#[unsafe(method(responseSecondaryRecipientIdentifiers))]
#[unsafe(method_family = none)]
pub fn responseSecondaryRecipientIdentifiers(&self) -> Retained<NSSet<NSString>>;
#[unsafe(method(setResponseSecondaryRecipientIdentifiers:))]
#[unsafe(method_family = none)]
pub fn setResponseSecondaryRecipientIdentifiers(
&self,
response_secondary_recipient_identifiers: &NSSet<NSString>,
);
);
}
#[cfg(feature = "UIConversationContext")]
impl UIMailConversationContext {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub fn new() -> Retained<Self>;
);
}
#[cfg(feature = "UIConversationContext")]
impl DefaultRetained for UIMailConversationContext {
#[inline]
fn default_retained() -> Retained<Self> {
Self::new()
}
}