| #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
| #[link(name = "windows")] |
| extern "system" {} |
| pub type OfflineMapPackage = *mut ::core::ffi::c_void; |
| pub type OfflineMapPackageQueryResult = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct OfflineMapPackageQueryStatus(pub i32); |
| impl OfflineMapPackageQueryStatus { |
| pub const Success: Self = Self(0i32); |
| pub const UnknownError: Self = Self(1i32); |
| pub const InvalidCredentials: Self = Self(2i32); |
| pub const NetworkFailure: Self = Self(3i32); |
| } |
| impl ::core::marker::Copy for OfflineMapPackageQueryStatus {} |
| impl ::core::clone::Clone for OfflineMapPackageQueryStatus { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type OfflineMapPackageStartDownloadResult = *mut ::core::ffi::c_void; |
| #[repr(transparent)] |
| pub struct OfflineMapPackageStartDownloadStatus(pub i32); |
| impl OfflineMapPackageStartDownloadStatus { |
| pub const Success: Self = Self(0i32); |
| pub const UnknownError: Self = Self(1i32); |
| pub const InvalidCredentials: Self = Self(2i32); |
| pub const DeniedWithoutCapability: Self = Self(3i32); |
| } |
| impl ::core::marker::Copy for OfflineMapPackageStartDownloadStatus {} |
| impl ::core::clone::Clone for OfflineMapPackageStartDownloadStatus { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[repr(transparent)] |
| pub struct OfflineMapPackageStatus(pub i32); |
| impl OfflineMapPackageStatus { |
| pub const NotDownloaded: Self = Self(0i32); |
| pub const Downloading: Self = Self(1i32); |
| pub const Downloaded: Self = Self(2i32); |
| pub const Deleting: Self = Self(3i32); |
| } |
| impl ::core::marker::Copy for OfflineMapPackageStatus {} |
| impl ::core::clone::Clone for OfflineMapPackageStatus { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |