objc2_intents/generated/
INSearchForNotebookItemsIntent_Deprecated.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::*;
5#[cfg(feature = "objc2-core-location")]
6use objc2_core_location::*;
7use objc2_foundation::*;
8
9use crate::*;
10
11/// Deprecated.
12#[cfg(all(feature = "INIntent", feature = "INSearchForNotebookItemsIntent"))]
13impl INSearchForNotebookItemsIntent {
14    extern_methods!(
15        #[cfg(all(
16            feature = "INDateComponentsRange",
17            feature = "INDateSearchType",
18            feature = "INLocationSearchType",
19            feature = "INNotebookItemType",
20            feature = "INSpeakableString",
21            feature = "INTaskStatus",
22            feature = "objc2-core-location"
23        ))]
24        #[deprecated = "Use the designated initializer instead"]
25        #[unsafe(method(initWithTitle:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:))]
26        #[unsafe(method_family = init)]
27        pub unsafe fn initWithTitle_content_itemType_status_location_locationSearchType_dateTime_dateSearchType(
28            this: Allocated<Self>,
29            title: Option<&INSpeakableString>,
30            content: Option<&NSString>,
31            item_type: INNotebookItemType,
32            status: INTaskStatus,
33            location: Option<&CLPlacemark>,
34            location_search_type: INLocationSearchType,
35            date_time: Option<&INDateComponentsRange>,
36            date_search_type: INDateSearchType,
37        ) -> Retained<Self>;
38
39        #[cfg(all(
40            feature = "INDateComponentsRange",
41            feature = "INDateSearchType",
42            feature = "INLocationSearchType",
43            feature = "INNotebookItemType",
44            feature = "INSpeakableString",
45            feature = "INTaskStatus",
46            feature = "objc2-core-location"
47        ))]
48        #[deprecated = "Use the designated initializer instead"]
49        #[unsafe(method(initWithTitle:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:notebookItemIdentifier:))]
50        #[unsafe(method_family = init)]
51        pub unsafe fn initWithTitle_content_itemType_status_location_locationSearchType_dateTime_dateSearchType_notebookItemIdentifier(
52            this: Allocated<Self>,
53            title: Option<&INSpeakableString>,
54            content: Option<&NSString>,
55            item_type: INNotebookItemType,
56            status: INTaskStatus,
57            location: Option<&CLPlacemark>,
58            location_search_type: INLocationSearchType,
59            date_time: Option<&INDateComponentsRange>,
60            date_search_type: INDateSearchType,
61            notebook_item_identifier: Option<&NSString>,
62        ) -> Retained<Self>;
63    );
64}