use objc2::__framework_prelude::*;
use objc2_app_kit::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct ASCredentialIdentityStoreState;
unsafe impl ClassType for ASCredentialIdentityStoreState {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSObjectProtocol for ASCredentialIdentityStoreState {}
extern_methods!(
unsafe impl ASCredentialIdentityStoreState {
#[method(isEnabled)]
pub unsafe fn isEnabled(&self) -> bool;
#[method(supportsIncrementalUpdates)]
pub unsafe fn supportsIncrementalUpdates(&self) -> bool;
}
);
extern_methods!(
unsafe impl ASCredentialIdentityStoreState {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);