use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct CXCallDirectoryProvider;
unsafe impl ClassType for CXCallDirectoryProvider {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSExtensionRequestHandling for CXCallDirectoryProvider {}
unsafe impl NSObjectProtocol for CXCallDirectoryProvider {}
extern_methods!(
unsafe impl CXCallDirectoryProvider {
#[cfg(feature = "CXCallDirectoryExtensionContext")]
#[method(beginRequestWithExtensionContext:)]
pub unsafe fn beginRequestWithExtensionContext(
&self,
context: &CXCallDirectoryExtensionContext,
);
}
);
extern_methods!(
unsafe impl CXCallDirectoryProvider {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);