From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Phone/System/Power/mod.rs | 13 ++++++++++ .../src/Windows/Phone/System/Profile/mod.rs | 1 + .../System/UserProfile/GameServices/Core/mod.rs | 29 ++++++++++++++++++++++ .../Phone/System/UserProfile/GameServices/mod.rs | 2 ++ .../src/Windows/Phone/System/UserProfile/mod.rs | 2 ++ vendor/windows-sys/src/Windows/Phone/System/mod.rs | 6 +++++ 6 files changed, 53 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/mod.rs (limited to 'vendor/windows-sys/src/Windows/Phone/System') diff --git a/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs new file mode 100644 index 000000000..cd814efe8 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs @@ -0,0 +1,13 @@ +#[doc = "*Required features: `\"Phone_System_Power\"`*"] +#[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/src/Windows/Phone/System/Profile/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs @@ -0,0 +1 @@ + diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs new file mode 100644 index 000000000..a2aacc92a --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs @@ -0,0 +1,29 @@ +#[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"] +#[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; +#[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"] +#[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/src/Windows/Phone/System/UserProfile/GameServices/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs new file mode 100644 index 000000000..44d33c779 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_System_UserProfile_GameServices_Core")] +pub mod Core; diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs new file mode 100644 index 000000000..51cb3bde1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_System_UserProfile_GameServices")] +pub mod GameServices; diff --git a/vendor/windows-sys/src/Windows/Phone/System/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/mod.rs new file mode 100644 index 000000000..c7fe0efcd --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/mod.rs @@ -0,0 +1,6 @@ +#[cfg(feature = "Phone_System_Power")] +pub mod Power; +#[cfg(feature = "Phone_System_Profile")] +pub mod Profile; +#[cfg(feature = "Phone_System_UserProfile")] +pub mod UserProfile; -- cgit v1.2.3