objc2_tv_services/generated/
TVTopShelfObject.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11 #[unsafe(super(NSObject))]
15 #[derive(Debug, PartialEq, Eq, Hash)]
16 pub struct TVTopShelfObject;
17);
18
19extern_conformance!(
20 unsafe impl NSObjectProtocol for TVTopShelfObject {}
21);
22
23impl TVTopShelfObject {
24 extern_methods!(
25 #[unsafe(method(title))]
27 #[unsafe(method_family = none)]
28 pub unsafe fn title(&self) -> Option<Retained<NSString>>;
29
30 #[unsafe(method(setTitle:))]
32 #[unsafe(method_family = none)]
33 pub unsafe fn setTitle(&self, title: Option<&NSString>);
34
35 #[unsafe(method(init))]
36 #[unsafe(method_family = init)]
37 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
38
39 #[unsafe(method(new))]
40 #[unsafe(method_family = new)]
41 pub unsafe fn new() -> Retained<Self>;
42 );
43}