objc2_cloud_kit/generated/
CKMarkNotificationsReadOperation.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10    /// [Apple's documentation](https://developer.apple.com/documentation/cloudkit/ckmarknotificationsreadoperation?language=objc)
11    #[unsafe(super(CKOperation, NSOperation, NSObject))]
12    #[derive(Debug, PartialEq, Eq, Hash)]
13    #[cfg(feature = "CKOperation")]
14    pub struct CKMarkNotificationsReadOperation;
15);
16
17#[cfg(feature = "CKOperation")]
18extern_conformance!(
19    unsafe impl NSObjectProtocol for CKMarkNotificationsReadOperation {}
20);
21
22#[cfg(feature = "CKOperation")]
23impl CKMarkNotificationsReadOperation {
24    extern_methods!();
25}
26
27/// Methods declared on superclass `CKOperation`.
28#[cfg(feature = "CKOperation")]
29impl CKMarkNotificationsReadOperation {
30    extern_methods!(
31        #[unsafe(method(init))]
32        #[unsafe(method_family = init)]
33        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
34    );
35}
36
37/// Methods declared on superclass `NSObject`.
38#[cfg(feature = "CKOperation")]
39impl CKMarkNotificationsReadOperation {
40    extern_methods!(
41        #[unsafe(method(new))]
42        #[unsafe(method_family = new)]
43        pub unsafe fn new() -> Retained<Self>;
44    );
45}