blob: 33cfb5aff4a0aae00782b4e49becf348bc5ea603 [file] [log] [blame]
pub type OfflineMapPackage = *mut ::core::ffi::c_void;
pub type OfflineMapPackageQueryResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"]
#[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;
#[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"]
#[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
}
}
#[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"]
#[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
}
}