use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct WKOpenPanelParameters;
unsafe impl ClassType for WKOpenPanelParameters {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSObjectProtocol for WKOpenPanelParameters {}
extern_methods!(
unsafe impl WKOpenPanelParameters {
#[method(allowsMultipleSelection)]
pub unsafe fn allowsMultipleSelection(&self) -> bool;
#[method(allowsDirectories)]
pub unsafe fn allowsDirectories(&self) -> bool;
}
);
extern_methods!(
unsafe impl WKOpenPanelParameters {
#[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>;
}
);