use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct MPMediaQuerySection;
unsafe impl ClassType for MPMediaQuerySection {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for MPMediaQuerySection {}
unsafe impl NSCopying for MPMediaQuerySection {}
unsafe impl NSObjectProtocol for MPMediaQuerySection {}
unsafe impl NSSecureCoding for MPMediaQuerySection {}
extern_methods!(
unsafe impl MPMediaQuerySection {
#[method_id(@__retain_semantics Other title)]
pub unsafe fn title(&self) -> Id<NSString>;
#[method(range)]
pub unsafe fn range(&self) -> NSRange;
}
);
extern_methods!(
unsafe impl MPMediaQuerySection {
#[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>;
}
);