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")]
18unsafe impl NSObjectProtocol for CKMarkNotificationsReadOperation {}
19
20#[cfg(feature = "CKOperation")]
21impl CKMarkNotificationsReadOperation {
22    extern_methods!();
23}
24
25/// Methods declared on superclass `CKOperation`.
26#[cfg(feature = "CKOperation")]
27impl CKMarkNotificationsReadOperation {
28    extern_methods!(
29        #[unsafe(method(init))]
30        #[unsafe(method_family = init)]
31        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
32    );
33}
34
35/// Methods declared on superclass `NSObject`.
36#[cfg(feature = "CKOperation")]
37impl CKMarkNotificationsReadOperation {
38    extern_methods!(
39        #[unsafe(method(new))]
40        #[unsafe(method_family = new)]
41        pub unsafe fn new() -> Retained<Self>;
42    );
43}