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 --- .../DataTransfer/DragDrop/Core/mod.rs | 21 ++++++ .../ApplicationModel/DataTransfer/DragDrop/mod.rs | 22 ++++++ .../DataTransfer/ShareTarget/mod.rs | 5 ++ .../Windows/ApplicationModel/DataTransfer/mod.rs | 84 ++++++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs create mode 100644 vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs create mode 100644 vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs create mode 100644 vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/mod.rs (limited to 'vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer') diff --git a/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs new file mode 100644 index 000000000..7ffa39e07 --- /dev/null +++ b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -0,0 +1,21 @@ +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] +#[link(name = "windows")] +extern "system" {} +pub type CoreDragDropManager = *mut ::core::ffi::c_void; +pub type CoreDragInfo = *mut ::core::ffi::c_void; +pub type CoreDragOperation = *mut ::core::ffi::c_void; +#[repr(transparent)] +pub struct CoreDragUIContentMode(pub u32); +impl CoreDragUIContentMode { + pub const Auto: Self = Self(0u32); + pub const Deferred: Self = Self(1u32); +} +impl ::core::marker::Copy for CoreDragUIContentMode {} +impl ::core::clone::Clone for CoreDragUIContentMode { + fn clone(&self) -> Self { + *self + } +} +pub type CoreDragUIOverride = *mut ::core::ffi::c_void; +pub type CoreDropOperationTargetRequestedEventArgs = *mut ::core::ffi::c_void; +pub type ICoreDropOperationTarget = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs new file mode 100644 index 000000000..afe53eaf4 --- /dev/null +++ b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs @@ -0,0 +1,22 @@ +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] +#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop_Core")] +pub mod Core; +#[link(name = "windows")] +extern "system" {} +#[repr(transparent)] +pub struct DragDropModifiers(pub u32); +impl DragDropModifiers { + pub const None: Self = Self(0u32); + pub const Shift: Self = Self(1u32); + pub const Control: Self = Self(2u32); + pub const Alt: Self = Self(4u32); + pub const LeftButton: Self = Self(8u32); + pub const MiddleButton: Self = Self(16u32); + pub const RightButton: Self = Self(32u32); +} +impl ::core::marker::Copy for DragDropModifiers {} +impl ::core::clone::Clone for DragDropModifiers { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs new file mode 100644 index 000000000..b44b7d7d9 --- /dev/null +++ b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -0,0 +1,5 @@ +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] +#[link(name = "windows")] +extern "system" {} +pub type QuickLink = *mut ::core::ffi::c_void; +pub type ShareOperation = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/mod.rs new file mode 100644 index 000000000..dae45da92 --- /dev/null +++ b/vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -0,0 +1,84 @@ +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] +#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop")] +pub mod DragDrop; +#[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")] +pub mod ShareTarget; +#[link(name = "windows")] +extern "system" {} +pub type ClipboardContentOptions = *mut ::core::ffi::c_void; +pub type ClipboardHistoryChangedEventArgs = *mut ::core::ffi::c_void; +pub type ClipboardHistoryItem = *mut ::core::ffi::c_void; +pub type ClipboardHistoryItemsResult = *mut ::core::ffi::c_void; +#[repr(transparent)] +pub struct ClipboardHistoryItemsResultStatus(pub i32); +impl ClipboardHistoryItemsResultStatus { + pub const Success: Self = Self(0i32); + pub const AccessDenied: Self = Self(1i32); + pub const ClipboardHistoryDisabled: Self = Self(2i32); +} +impl ::core::marker::Copy for ClipboardHistoryItemsResultStatus {} +impl ::core::clone::Clone for ClipboardHistoryItemsResultStatus { + fn clone(&self) -> Self { + *self + } +} +pub type DataPackage = *mut ::core::ffi::c_void; +#[repr(transparent)] +pub struct DataPackageOperation(pub u32); +impl DataPackageOperation { + pub const None: Self = Self(0u32); + pub const Copy: Self = Self(1u32); + pub const Move: Self = Self(2u32); + pub const Link: Self = Self(4u32); +} +impl ::core::marker::Copy for DataPackageOperation {} +impl ::core::clone::Clone for DataPackageOperation { + fn clone(&self) -> Self { + *self + } +} +pub type DataPackagePropertySet = *mut ::core::ffi::c_void; +pub type DataPackagePropertySetView = *mut ::core::ffi::c_void; +pub type DataPackageView = *mut ::core::ffi::c_void; +pub type DataProviderDeferral = *mut ::core::ffi::c_void; +pub type DataProviderHandler = *mut ::core::ffi::c_void; +pub type DataProviderRequest = *mut ::core::ffi::c_void; +pub type DataRequest = *mut ::core::ffi::c_void; +pub type DataRequestDeferral = *mut ::core::ffi::c_void; +pub type DataRequestedEventArgs = *mut ::core::ffi::c_void; +pub type DataTransferManager = *mut ::core::ffi::c_void; +pub type OperationCompletedEventArgs = *mut ::core::ffi::c_void; +#[repr(transparent)] +pub struct SetHistoryItemAsContentStatus(pub i32); +impl SetHistoryItemAsContentStatus { + pub const Success: Self = Self(0i32); + pub const AccessDenied: Self = Self(1i32); + pub const ItemDeleted: Self = Self(2i32); +} +impl ::core::marker::Copy for SetHistoryItemAsContentStatus {} +impl ::core::clone::Clone for SetHistoryItemAsContentStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ShareCompletedEventArgs = *mut ::core::ffi::c_void; +pub type ShareProvider = *mut ::core::ffi::c_void; +pub type ShareProviderHandler = *mut ::core::ffi::c_void; +pub type ShareProviderOperation = *mut ::core::ffi::c_void; +pub type ShareProvidersRequestedEventArgs = *mut ::core::ffi::c_void; +pub type ShareTargetInfo = *mut ::core::ffi::c_void; +pub type ShareUIOptions = *mut ::core::ffi::c_void; +#[repr(transparent)] +pub struct ShareUITheme(pub i32); +impl ShareUITheme { + pub const Default: Self = Self(0i32); + pub const Light: Self = Self(1i32); + pub const Dark: Self = Self(2i32); +} +impl ::core::marker::Copy for ShareUITheme {} +impl ::core::clone::Clone for ShareUITheme { + fn clone(&self) -> Self { + *self + } +} +pub type TargetApplicationChosenEventArgs = *mut ::core::ffi::c_void; -- cgit v1.2.3