objc2_intents/generated/
INDomainHandling.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2::__framework_prelude::*;
4
5use crate::*;
6
7extern_protocol!(
8    /// [Apple's documentation](https://developer.apple.com/documentation/intents/incallsdomainhandling?language=objc)
9    #[cfg(all(
10        feature = "INSearchCallHistoryIntent",
11        feature = "INStartAudioCallIntent",
12        feature = "INStartVideoCallIntent"
13    ))]
14    #[deprecated = "Please conform to INStartAudioCallIntentHandling, INStartVideoCallIntentHandling and INSearchCallHistoryIntentHandling instead"]
15    pub unsafe trait INCallsDomainHandling:
16        INStartAudioCallIntentHandling
17        + INStartVideoCallIntentHandling
18        + INSearchCallHistoryIntentHandling
19    {
20    }
21);
22
23extern_protocol!(
24    /// [Apple's documentation](https://developer.apple.com/documentation/intents/incarcommandsdomainhandling?language=objc)
25    #[cfg(all(
26        feature = "INActivateCarSignalIntent",
27        feature = "INGetCarLockStatusIntent",
28        feature = "INGetCarPowerLevelStatusIntent",
29        feature = "INSetCarLockStatusIntent"
30    ))]
31    #[deprecated = "Please conform to INActivateCarSignalIntentHandling, INSetCarLockStatusIntentHandling, INGetCarLockStatusIntentHandling and INGetCarPowerLevelStatusIntentHandling instead"]
32    pub unsafe trait INCarCommandsDomainHandling:
33        INActivateCarSignalIntentHandling
34        + INSetCarLockStatusIntentHandling
35        + INGetCarLockStatusIntentHandling
36        + INGetCarPowerLevelStatusIntentHandling
37    {
38    }
39);
40
41extern_protocol!(
42    /// [Apple's documentation](https://developer.apple.com/documentation/intents/incarplaydomainhandling?language=objc)
43    #[cfg(all(
44        feature = "INSaveProfileInCarIntent",
45        feature = "INSetAudioSourceInCarIntent",
46        feature = "INSetClimateSettingsInCarIntent",
47        feature = "INSetDefrosterSettingsInCarIntent",
48        feature = "INSetProfileInCarIntent",
49        feature = "INSetSeatSettingsInCarIntent"
50    ))]
51    #[deprecated = "Please conform to INSetAudioSourceInCarIntentHandling, INSetClimateSettingsInCarIntentHandling, INSetDefrosterSettingsInCarIntentHandling, INSetSeatSettingsInCarIntentHandling, INSetProfileInCarIntentHandling and INSaveProfileInCarIntentHandling instead"]
52    pub unsafe trait INCarPlayDomainHandling:
53        INSetAudioSourceInCarIntentHandling
54        + INSetClimateSettingsInCarIntentHandling
55        + INSetDefrosterSettingsInCarIntentHandling
56        + INSetSeatSettingsInCarIntentHandling
57        + INSetProfileInCarIntentHandling
58        + INSaveProfileInCarIntentHandling
59    {
60    }
61);
62
63extern_protocol!(
64    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inworkoutsdomainhandling?language=objc)
65    #[cfg(all(
66        feature = "INCancelWorkoutIntent",
67        feature = "INEndWorkoutIntent",
68        feature = "INPauseWorkoutIntent",
69        feature = "INResumeWorkoutIntent",
70        feature = "INStartWorkoutIntent"
71    ))]
72    #[deprecated = "Please conform to INStartWorkoutIntentHandling, INPauseWorkoutIntentHandling, INEndWorkoutIntentHandling, INCancelWorkoutIntentHandling and INResumeWorkoutIntentHandling instead"]
73    pub unsafe trait INWorkoutsDomainHandling:
74        INStartWorkoutIntentHandling
75        + INPauseWorkoutIntentHandling
76        + INEndWorkoutIntentHandling
77        + INCancelWorkoutIntentHandling
78        + INResumeWorkoutIntentHandling
79    {
80    }
81);
82
83extern_protocol!(
84    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inradiodomainhandling?language=objc)
85    #[cfg(feature = "INSetRadioStationIntent")]
86    #[deprecated = "Please conform to INSetRadioStationIntentHandling instead"]
87    pub unsafe trait INRadioDomainHandling: INSetRadioStationIntentHandling {}
88);
89
90extern_protocol!(
91    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inmessagesdomainhandling?language=objc)
92    #[cfg(all(
93        feature = "INSearchForMessagesIntent",
94        feature = "INSendMessageIntent",
95        feature = "INSetMessageAttributeIntent"
96    ))]
97    #[deprecated = "Please conform to INSendMessageIntentHandling, INSearchForMessagesIntentHandling and INSetMessageAttributeIntentHandling instead"]
98    pub unsafe trait INMessagesDomainHandling:
99        INSendMessageIntentHandling
100        + INSearchForMessagesIntentHandling
101        + INSetMessageAttributeIntentHandling
102    {
103    }
104);
105
106extern_protocol!(
107    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inpaymentsdomainhandling?language=objc)
108    #[cfg(all(
109        feature = "INPayBillIntent",
110        feature = "INRequestPaymentIntent",
111        feature = "INSearchForAccountsIntent",
112        feature = "INSearchForBillsIntent",
113        feature = "INSendPaymentIntent",
114        feature = "INTransferMoneyIntent"
115    ))]
116    #[deprecated = "Please conform to INSendPaymentIntentHandling, INRequestPaymentIntentHandling, INPayBillIntentHandling, INSearchForBillsIntentHandling, INSearchForAccountsIntentHandling and INTransferMoneyIntentHandling instead"]
117    pub unsafe trait INPaymentsDomainHandling:
118        INSendPaymentIntentHandling
119        + INRequestPaymentIntentHandling
120        + INPayBillIntentHandling
121        + INSearchForBillsIntentHandling
122        + INSearchForAccountsIntentHandling
123        + INTransferMoneyIntentHandling
124    {
125    }
126);
127
128extern_protocol!(
129    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inphotosdomainhandling?language=objc)
130    #[cfg(all(
131        feature = "INSearchForPhotosIntent",
132        feature = "INStartPhotoPlaybackIntent"
133    ))]
134    #[deprecated = "Please conform to INSearchForPhotosIntentHandling and INStartPhotoPlaybackIntentHandling instead"]
135    pub unsafe trait INPhotosDomainHandling:
136        INSearchForPhotosIntentHandling + INStartPhotoPlaybackIntentHandling
137    {
138    }
139);
140
141extern_protocol!(
142    /// [Apple's documentation](https://developer.apple.com/documentation/intents/inridesharingdomainhandling?language=objc)
143    #[cfg(all(
144        feature = "INCancelRideIntent",
145        feature = "INGetRideStatusIntent",
146        feature = "INListRideOptionsIntent",
147        feature = "INRequestRideIntent",
148        feature = "INSendRideFeedbackIntent"
149    ))]
150    #[deprecated = "Please conform to INListRideOptionsIntentHandling, INRequestRideIntentHandling, INGetRideStatusIntentHandling, INCancelRideIntentHandling and INSendRideFeedbackIntentHandling instead"]
151    pub unsafe trait INRidesharingDomainHandling:
152        INListRideOptionsIntentHandling
153        + INRequestRideIntentHandling
154        + INGetRideStatusIntentHandling
155        + INCancelRideIntentHandling
156        + INSendRideFeedbackIntentHandling
157    {
158    }
159);
160
161extern_protocol!(
162    /// [Apple's documentation](https://developer.apple.com/documentation/intents/innotebookdomainhandling?language=objc)
163    #[cfg(all(
164        feature = "INAddTasksIntent",
165        feature = "INAppendToNoteIntent",
166        feature = "INCreateNoteIntent",
167        feature = "INCreateTaskListIntent",
168        feature = "INSearchForNotebookItemsIntent",
169        feature = "INSetTaskAttributeIntent"
170    ))]
171    #[deprecated = "Please conform to INCreateNoteIntentHandling, INAppendToNoteIntentHandling, INAddTasksIntentHandling, INCreateTaskListIntentHandling, INSetTaskAttributeIntentHandling and INSearchForNotebookItemsIntentHandling instead"]
172    pub unsafe trait INNotebookDomainHandling:
173        INCreateNoteIntentHandling
174        + INAppendToNoteIntentHandling
175        + INAddTasksIntentHandling
176        + INCreateTaskListIntentHandling
177        + INSetTaskAttributeIntentHandling
178        + INSearchForNotebookItemsIntentHandling
179    {
180    }
181);
182
183extern_protocol!(
184    /// [Apple's documentation](https://developer.apple.com/documentation/intents/invisualcodedomainhandling?language=objc)
185    #[cfg(feature = "INGetVisualCodeIntent")]
186    #[deprecated = "Please conform to INGetVisualCodeIntentHandling instead"]
187    pub unsafe trait INVisualCodeDomainHandling: INGetVisualCodeIntentHandling {}
188);