use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-app-kit")]
#[cfg(target_os = "macos")]
use objc2_app_kit::*;
#[cfg(feature = "objc2-shared-with-you-core")]
use objc2_shared_with_you_core::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct SWRemoveParticipantAlert;
);
extern_conformance!(
unsafe impl NSObjectProtocol for SWRemoveParticipantAlert {}
);
impl SWRemoveParticipantAlert {
extern_methods!(
#[cfg(all(
feature = "SWCollaborationHighlight",
feature = "SWHighlight",
feature = "objc2-app-kit",
feature = "objc2-shared-with-you-core"
))]
#[cfg(target_os = "macos")]
#[unsafe(method(showAlertWithParticipant:highlight:inWindow:))]
#[unsafe(method_family = none)]
pub unsafe fn showAlertWithParticipant_highlight_inWindow(
participant: &SWPerson,
highlight: &SWCollaborationHighlight,
window: Option<&NSWindow>,
);
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}