]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type AppCapability = *mut ::core::ffi::c_void; |
2 | pub type AppCapabilityAccessChangedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 3 | #[doc = "*Required features: `\"Security_Authorization_AppCapabilityAccess\"`*"] |
5e7ed085 FG |
4 | #[repr(transparent)] |
5 | pub struct AppCapabilityAccessStatus(pub i32); | |
6 | impl AppCapabilityAccessStatus { | |
7 | pub const DeniedBySystem: Self = Self(0i32); | |
8 | pub const NotDeclaredByApp: Self = Self(1i32); | |
9 | pub const DeniedByUser: Self = Self(2i32); | |
10 | pub const UserPromptRequired: Self = Self(3i32); | |
11 | pub const Allowed: Self = Self(4i32); | |
12 | } | |
13 | impl ::core::marker::Copy for AppCapabilityAccessStatus {} | |
14 | impl ::core::clone::Clone for AppCapabilityAccessStatus { | |
15 | fn clone(&self) -> Self { | |
16 | *self | |
17 | } | |
18 | } |