diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Phone/System')
6 files changed, 0 insertions, 63 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/Power/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/System/Power/mod.rs deleted file mode 100644 index 7261ab3db..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/Power/mod.rs +++ /dev/null @@ -1,15 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct PowerSavingMode(pub i32); -impl PowerSavingMode { - pub const Off: Self = Self(0i32); - pub const On: Self = Self(1i32); -} -impl ::core::marker::Copy for PowerSavingMode {} -impl ::core::clone::Clone for PowerSavingMode { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/Profile/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/System/Profile/mod.rs deleted file mode 100644 index c80aa7b7a..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/Profile/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs deleted file mode 100644 index 9c9399de1..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs +++ /dev/null @@ -1,30 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct GameServiceGameOutcome(pub i32); -impl GameServiceGameOutcome { - pub const None: Self = Self(0i32); - pub const Win: Self = Self(1i32); - pub const Loss: Self = Self(2i32); - pub const Tie: Self = Self(3i32); -} -impl ::core::marker::Copy for GameServiceGameOutcome {} -impl ::core::clone::Clone for GameServiceGameOutcome { - fn clone(&self) -> Self { - *self - } -} -pub type GameServicePropertyCollection = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GameServiceScoreKind(pub i32); -impl GameServiceScoreKind { - pub const Number: Self = Self(0i32); - pub const Time: Self = Self(1i32); -} -impl ::core::marker::Copy for GameServiceScoreKind {} -impl ::core::clone::Clone for GameServiceScoreKind { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/GameServices/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/GameServices/mod.rs deleted file mode 100644 index be6b78e51..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/GameServices/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Phone_System_UserProfile_GameServices_Core")] -pub mod Core; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/mod.rs deleted file mode 100644 index 128113dbb..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/UserProfile/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Phone_System_UserProfile_GameServices")] -pub mod GameServices; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/System/mod.rs deleted file mode 100644 index bcc5f603a..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/System/mod.rs +++ /dev/null @@ -1,9 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Phone_System_Power")] -pub mod Power; -#[cfg(feature = "Phone_System_Profile")] -pub mod Profile; -#[cfg(feature = "Phone_System_UserProfile")] -pub mod UserProfile; -#[link(name = "windows")] -extern "system" {} |