]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[cfg(feature = "Phone_PersonalInformation_Provisioning")] | |
3 | pub mod Provisioning; | |
4 | pub type ContactAddress = *mut ::core::ffi::c_void; | |
5 | pub type ContactChangeRecord = *mut ::core::ffi::c_void; | |
04454e1e | 6 | #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] |
5e7ed085 FG |
7 | #[repr(transparent)] |
8 | pub struct ContactChangeType(pub i32); | |
9 | impl ContactChangeType { | |
10 | pub const Created: Self = Self(0i32); | |
11 | pub const Modified: Self = Self(1i32); | |
12 | pub const Deleted: Self = Self(2i32); | |
13 | } | |
14 | impl ::core::marker::Copy for ContactChangeType {} | |
15 | impl ::core::clone::Clone for ContactChangeType { | |
16 | fn clone(&self) -> Self { | |
17 | *self | |
18 | } | |
19 | } | |
20 | pub type ContactInformation = *mut ::core::ffi::c_void; | |
21 | pub type ContactQueryOptions = *mut ::core::ffi::c_void; | |
22 | pub type ContactQueryResult = *mut ::core::ffi::c_void; | |
04454e1e | 23 | #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] |
5e7ed085 FG |
24 | #[repr(transparent)] |
25 | pub struct ContactQueryResultOrdering(pub i32); | |
26 | impl ContactQueryResultOrdering { | |
27 | pub const SystemDefault: Self = Self(0i32); | |
28 | pub const GivenNameFamilyName: Self = Self(1i32); | |
29 | pub const FamilyNameGivenName: Self = Self(2i32); | |
30 | } | |
31 | impl ::core::marker::Copy for ContactQueryResultOrdering {} | |
32 | impl ::core::clone::Clone for ContactQueryResultOrdering { | |
33 | fn clone(&self) -> Self { | |
34 | *self | |
35 | } | |
36 | } | |
37 | pub type ContactStore = *mut ::core::ffi::c_void; | |
04454e1e | 38 | #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] |
5e7ed085 FG |
39 | #[repr(transparent)] |
40 | pub struct ContactStoreApplicationAccessMode(pub i32); | |
41 | impl ContactStoreApplicationAccessMode { | |
42 | pub const LimitedReadOnly: Self = Self(0i32); | |
43 | pub const ReadOnly: Self = Self(1i32); | |
44 | } | |
45 | impl ::core::marker::Copy for ContactStoreApplicationAccessMode {} | |
46 | impl ::core::clone::Clone for ContactStoreApplicationAccessMode { | |
47 | fn clone(&self) -> Self { | |
48 | *self | |
49 | } | |
50 | } | |
04454e1e | 51 | #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] |
5e7ed085 FG |
52 | #[repr(transparent)] |
53 | pub struct ContactStoreSystemAccessMode(pub i32); | |
54 | impl ContactStoreSystemAccessMode { | |
55 | pub const ReadOnly: Self = Self(0i32); | |
56 | pub const ReadWrite: Self = Self(1i32); | |
57 | } | |
58 | impl ::core::marker::Copy for ContactStoreSystemAccessMode {} | |
59 | impl ::core::clone::Clone for ContactStoreSystemAccessMode { | |
60 | fn clone(&self) -> Self { | |
61 | *self | |
62 | } | |
63 | } | |
64 | pub type IContactInformation = *mut ::core::ffi::c_void; | |
65 | pub type IContactInformation2 = *mut ::core::ffi::c_void; | |
66 | pub type StoredContact = *mut ::core::ffi::c_void; | |
04454e1e | 67 | #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] |
5e7ed085 FG |
68 | #[repr(transparent)] |
69 | pub struct VCardFormat(pub i32); | |
70 | impl VCardFormat { | |
71 | pub const Version2_1: Self = Self(0i32); | |
72 | pub const Version3: Self = Self(1i32); | |
73 | } | |
74 | impl ::core::marker::Copy for VCardFormat {} | |
75 | impl ::core::clone::Clone for VCardFormat { | |
76 | fn clone(&self) -> Self { | |
77 | *self | |
78 | } | |
79 | } |