]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
04454e1e | 2 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
3 | #[repr(transparent)] |
4 | pub struct CellularClass(pub i32); | |
5 | impl CellularClass { | |
6 | pub const None: Self = Self(0i32); | |
7 | pub const Gsm: Self = Self(1i32); | |
8 | pub const Cdma: Self = Self(2i32); | |
9 | } | |
10 | impl ::core::marker::Copy for CellularClass {} | |
11 | impl ::core::clone::Clone for CellularClass { | |
12 | fn clone(&self) -> Self { | |
13 | *self | |
14 | } | |
15 | } | |
16 | pub type DeleteSmsMessageOperation = *mut ::core::ffi::c_void; | |
17 | pub type DeleteSmsMessagesOperation = *mut ::core::ffi::c_void; | |
18 | pub type GetSmsDeviceOperation = *mut ::core::ffi::c_void; | |
19 | pub type GetSmsMessageOperation = *mut ::core::ffi::c_void; | |
20 | pub type GetSmsMessagesOperation = *mut ::core::ffi::c_void; | |
21 | pub type ISmsBinaryMessage = *mut ::core::ffi::c_void; | |
22 | pub type ISmsDevice = *mut ::core::ffi::c_void; | |
23 | pub type ISmsMessage = *mut ::core::ffi::c_void; | |
24 | pub type ISmsMessageBase = *mut ::core::ffi::c_void; | |
25 | pub type ISmsTextMessage = *mut ::core::ffi::c_void; | |
26 | pub type SendSmsMessageOperation = *mut ::core::ffi::c_void; | |
27 | pub type SmsAppMessage = *mut ::core::ffi::c_void; | |
28 | pub type SmsBinaryMessage = *mut ::core::ffi::c_void; | |
29 | pub type SmsBroadcastMessage = *mut ::core::ffi::c_void; | |
04454e1e | 30 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
31 | #[repr(transparent)] |
32 | pub struct SmsBroadcastType(pub i32); | |
33 | impl SmsBroadcastType { | |
34 | pub const Other: Self = Self(0i32); | |
35 | pub const CmasPresidential: Self = Self(1i32); | |
36 | pub const CmasExtreme: Self = Self(2i32); | |
37 | pub const CmasSevere: Self = Self(3i32); | |
38 | pub const CmasAmber: Self = Self(4i32); | |
39 | pub const CmasTest: Self = Self(5i32); | |
40 | pub const EUAlert1: Self = Self(6i32); | |
41 | pub const EUAlert2: Self = Self(7i32); | |
42 | pub const EUAlert3: Self = Self(8i32); | |
43 | pub const EUAlertAmber: Self = Self(9i32); | |
44 | pub const EUAlertInfo: Self = Self(10i32); | |
45 | pub const EtwsEarthquake: Self = Self(11i32); | |
46 | pub const EtwsTsunami: Self = Self(12i32); | |
47 | pub const EtwsTsunamiAndEarthquake: Self = Self(13i32); | |
48 | pub const LatAlertLocal: Self = Self(14i32); | |
49 | } | |
50 | impl ::core::marker::Copy for SmsBroadcastType {} | |
51 | impl ::core::clone::Clone for SmsBroadcastType { | |
52 | fn clone(&self) -> Self { | |
53 | *self | |
54 | } | |
55 | } | |
04454e1e | 56 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
57 | #[repr(transparent)] |
58 | pub struct SmsDataFormat(pub i32); | |
59 | impl SmsDataFormat { | |
60 | pub const Unknown: Self = Self(0i32); | |
61 | pub const CdmaSubmit: Self = Self(1i32); | |
62 | pub const GsmSubmit: Self = Self(2i32); | |
63 | pub const CdmaDeliver: Self = Self(3i32); | |
64 | pub const GsmDeliver: Self = Self(4i32); | |
65 | } | |
66 | impl ::core::marker::Copy for SmsDataFormat {} | |
67 | impl ::core::clone::Clone for SmsDataFormat { | |
68 | fn clone(&self) -> Self { | |
69 | *self | |
70 | } | |
71 | } | |
72 | pub type SmsDevice = *mut ::core::ffi::c_void; | |
73 | pub type SmsDevice2 = *mut ::core::ffi::c_void; | |
74 | pub type SmsDeviceMessageStore = *mut ::core::ffi::c_void; | |
04454e1e | 75 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
76 | #[repr(transparent)] |
77 | pub struct SmsDeviceStatus(pub i32); | |
78 | impl SmsDeviceStatus { | |
79 | pub const Off: Self = Self(0i32); | |
80 | pub const Ready: Self = Self(1i32); | |
81 | pub const SimNotInserted: Self = Self(2i32); | |
82 | pub const BadSim: Self = Self(3i32); | |
83 | pub const DeviceFailure: Self = Self(4i32); | |
84 | pub const SubscriptionNotActivated: Self = Self(5i32); | |
85 | pub const DeviceLocked: Self = Self(6i32); | |
86 | pub const DeviceBlocked: Self = Self(7i32); | |
87 | } | |
88 | impl ::core::marker::Copy for SmsDeviceStatus {} | |
89 | impl ::core::clone::Clone for SmsDeviceStatus { | |
90 | fn clone(&self) -> Self { | |
91 | *self | |
92 | } | |
93 | } | |
94 | pub type SmsDeviceStatusChangedEventHandler = *mut ::core::ffi::c_void; | |
95 | #[repr(C)] | |
04454e1e | 96 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
97 | pub struct SmsEncodedLength { |
98 | pub SegmentCount: u32, | |
99 | pub CharacterCountLastSegment: u32, | |
100 | pub CharactersPerSegment: u32, | |
101 | pub ByteCountLastSegment: u32, | |
102 | pub BytesPerSegment: u32, | |
103 | } | |
104 | impl ::core::marker::Copy for SmsEncodedLength {} | |
105 | impl ::core::clone::Clone for SmsEncodedLength { | |
106 | fn clone(&self) -> Self { | |
107 | *self | |
108 | } | |
109 | } | |
04454e1e | 110 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
111 | #[repr(transparent)] |
112 | pub struct SmsEncoding(pub i32); | |
113 | impl SmsEncoding { | |
114 | pub const Unknown: Self = Self(0i32); | |
115 | pub const Optimal: Self = Self(1i32); | |
116 | pub const SevenBitAscii: Self = Self(2i32); | |
117 | pub const Unicode: Self = Self(3i32); | |
118 | pub const GsmSevenBit: Self = Self(4i32); | |
119 | pub const EightBit: Self = Self(5i32); | |
120 | pub const Latin: Self = Self(6i32); | |
121 | pub const Korean: Self = Self(7i32); | |
122 | pub const IA5: Self = Self(8i32); | |
123 | pub const ShiftJis: Self = Self(9i32); | |
124 | pub const LatinHebrew: Self = Self(10i32); | |
125 | } | |
126 | impl ::core::marker::Copy for SmsEncoding {} | |
127 | impl ::core::clone::Clone for SmsEncoding { | |
128 | fn clone(&self) -> Self { | |
129 | *self | |
130 | } | |
131 | } | |
04454e1e | 132 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
133 | #[repr(transparent)] |
134 | pub struct SmsFilterActionType(pub i32); | |
135 | impl SmsFilterActionType { | |
136 | pub const AcceptImmediately: Self = Self(0i32); | |
137 | pub const Drop: Self = Self(1i32); | |
138 | pub const Peek: Self = Self(2i32); | |
139 | pub const Accept: Self = Self(3i32); | |
140 | } | |
141 | impl ::core::marker::Copy for SmsFilterActionType {} | |
142 | impl ::core::clone::Clone for SmsFilterActionType { | |
143 | fn clone(&self) -> Self { | |
144 | *self | |
145 | } | |
146 | } | |
147 | pub type SmsFilterRule = *mut ::core::ffi::c_void; | |
148 | pub type SmsFilterRules = *mut ::core::ffi::c_void; | |
04454e1e | 149 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
150 | #[repr(transparent)] |
151 | pub struct SmsGeographicalScope(pub i32); | |
152 | impl SmsGeographicalScope { | |
153 | pub const None: Self = Self(0i32); | |
154 | pub const CellWithImmediateDisplay: Self = Self(1i32); | |
155 | pub const LocationArea: Self = Self(2i32); | |
156 | pub const Plmn: Self = Self(3i32); | |
157 | pub const Cell: Self = Self(4i32); | |
158 | } | |
159 | impl ::core::marker::Copy for SmsGeographicalScope {} | |
160 | impl ::core::clone::Clone for SmsGeographicalScope { | |
161 | fn clone(&self) -> Self { | |
162 | *self | |
163 | } | |
164 | } | |
04454e1e | 165 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
166 | #[repr(transparent)] |
167 | pub struct SmsMessageClass(pub i32); | |
168 | impl SmsMessageClass { | |
169 | pub const None: Self = Self(0i32); | |
170 | pub const Class0: Self = Self(1i32); | |
171 | pub const Class1: Self = Self(2i32); | |
172 | pub const Class2: Self = Self(3i32); | |
173 | pub const Class3: Self = Self(4i32); | |
174 | } | |
175 | impl ::core::marker::Copy for SmsMessageClass {} | |
176 | impl ::core::clone::Clone for SmsMessageClass { | |
177 | fn clone(&self) -> Self { | |
178 | *self | |
179 | } | |
180 | } | |
04454e1e | 181 | #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] |
5e7ed085 FG |
182 | #[cfg(feature = "deprecated")] |
183 | #[repr(transparent)] | |
184 | pub struct SmsMessageFilter(pub i32); | |
185 | #[cfg(feature = "deprecated")] | |
186 | impl SmsMessageFilter { | |
187 | pub const All: Self = Self(0i32); | |
188 | pub const Unread: Self = Self(1i32); | |
189 | pub const Read: Self = Self(2i32); | |
190 | pub const Sent: Self = Self(3i32); | |
191 | pub const Draft: Self = Self(4i32); | |
192 | } | |
193 | #[cfg(feature = "deprecated")] | |
194 | impl ::core::marker::Copy for SmsMessageFilter {} | |
195 | #[cfg(feature = "deprecated")] | |
196 | impl ::core::clone::Clone for SmsMessageFilter { | |
197 | fn clone(&self) -> Self { | |
198 | *self | |
199 | } | |
200 | } | |
201 | pub type SmsMessageReceivedEventArgs = *mut ::core::ffi::c_void; | |
202 | pub type SmsMessageReceivedEventHandler = *mut ::core::ffi::c_void; | |
203 | pub type SmsMessageReceivedTriggerDetails = *mut ::core::ffi::c_void; | |
204 | pub type SmsMessageRegistration = *mut ::core::ffi::c_void; | |
04454e1e | 205 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
206 | #[repr(transparent)] |
207 | pub struct SmsMessageType(pub i32); | |
208 | impl SmsMessageType { | |
209 | pub const Binary: Self = Self(0i32); | |
210 | pub const Text: Self = Self(1i32); | |
211 | pub const Wap: Self = Self(2i32); | |
212 | pub const App: Self = Self(3i32); | |
213 | pub const Broadcast: Self = Self(4i32); | |
214 | pub const Voicemail: Self = Self(5i32); | |
215 | pub const Status: Self = Self(6i32); | |
216 | } | |
217 | impl ::core::marker::Copy for SmsMessageType {} | |
218 | impl ::core::clone::Clone for SmsMessageType { | |
219 | fn clone(&self) -> Self { | |
220 | *self | |
221 | } | |
222 | } | |
04454e1e | 223 | #[doc = "*Required features: `\"Devices_Sms\"`*"] |
5e7ed085 FG |
224 | #[repr(transparent)] |
225 | pub struct SmsModemErrorCode(pub i32); | |
226 | impl SmsModemErrorCode { | |
227 | pub const Other: Self = Self(0i32); | |
228 | pub const MessagingNetworkError: Self = Self(1i32); | |
229 | pub const SmsOperationNotSupportedByDevice: Self = Self(2i32); | |
230 | pub const SmsServiceNotSupportedByNetwork: Self = Self(3i32); | |
231 | pub const DeviceFailure: Self = Self(4i32); | |
232 | pub const MessageNotEncodedProperly: Self = Self(5i32); | |
233 | pub const MessageTooLarge: Self = Self(6i32); | |
234 | pub const DeviceNotReady: Self = Self(7i32); | |
235 | pub const NetworkNotReady: Self = Self(8i32); | |
236 | pub const InvalidSmscAddress: Self = Self(9i32); | |
237 | pub const NetworkFailure: Self = Self(10i32); | |
238 | pub const FixedDialingNumberRestricted: Self = Self(11i32); | |
239 | } | |
240 | impl ::core::marker::Copy for SmsModemErrorCode {} | |
241 | impl ::core::clone::Clone for SmsModemErrorCode { | |
242 | fn clone(&self) -> Self { | |
243 | *self | |
244 | } | |
245 | } | |
246 | pub type SmsReceivedEventDetails = *mut ::core::ffi::c_void; | |
247 | pub type SmsSendMessageResult = *mut ::core::ffi::c_void; | |
248 | pub type SmsStatusMessage = *mut ::core::ffi::c_void; | |
249 | pub type SmsTextMessage = *mut ::core::ffi::c_void; | |
250 | pub type SmsTextMessage2 = *mut ::core::ffi::c_void; | |
251 | pub type SmsVoicemailMessage = *mut ::core::ffi::c_void; | |
252 | pub type SmsWapMessage = *mut ::core::ffi::c_void; |