diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/Provider/mod.rs | 51 | ||||
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/mod.rs | 43 |
2 files changed, 0 insertions, 94 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/Provider/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/Provider/mod.rs deleted file mode 100644 index 0c490f5e2..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/Provider/mod.rs +++ /dev/null @@ -1,51 +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 AddFileResult(pub i32); -impl AddFileResult { - pub const Added: Self = Self(0i32); - pub const AlreadyAdded: Self = Self(1i32); - pub const NotAllowed: Self = Self(2i32); - pub const Unavailable: Self = Self(3i32); -} -impl ::core::marker::Copy for AddFileResult {} -impl ::core::clone::Clone for AddFileResult { - fn clone(&self) -> Self { - *self - } -} -pub type FileOpenPickerUI = *mut ::core::ffi::c_void; -pub type FileRemovedEventArgs = *mut ::core::ffi::c_void; -pub type FileSavePickerUI = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct FileSelectionMode(pub i32); -impl FileSelectionMode { - pub const Single: Self = Self(0i32); - pub const Multiple: Self = Self(1i32); -} -impl ::core::marker::Copy for FileSelectionMode {} -impl ::core::clone::Clone for FileSelectionMode { - fn clone(&self) -> Self { - *self - } -} -pub type PickerClosingDeferral = *mut ::core::ffi::c_void; -pub type PickerClosingEventArgs = *mut ::core::ffi::c_void; -pub type PickerClosingOperation = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct SetFileNameResult(pub i32); -impl SetFileNameResult { - pub const Succeeded: Self = Self(0i32); - pub const NotAllowed: Self = Self(1i32); - pub const Unavailable: Self = Self(2i32); -} -impl ::core::marker::Copy for SetFileNameResult {} -impl ::core::clone::Clone for SetFileNameResult { - fn clone(&self) -> Self { - *self - } -} -pub type TargetFileRequest = *mut ::core::ffi::c_void; -pub type TargetFileRequestDeferral = *mut ::core::ffi::c_void; -pub type TargetFileRequestedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/mod.rs deleted file mode 100644 index 97d5af3e0..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Storage/Pickers/mod.rs +++ /dev/null @@ -1,43 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Storage_Pickers_Provider")] -pub mod Provider; -#[link(name = "windows")] -extern "system" {} -pub type FileExtensionVector = *mut ::core::ffi::c_void; -pub type FileOpenPicker = *mut ::core::ffi::c_void; -pub type FilePickerFileTypesOrderedMap = *mut ::core::ffi::c_void; -pub type FilePickerSelectedFilesArray = *mut ::core::ffi::c_void; -pub type FileSavePicker = *mut ::core::ffi::c_void; -pub type FolderPicker = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PickerLocationId(pub i32); -impl PickerLocationId { - pub const DocumentsLibrary: Self = Self(0i32); - pub const ComputerFolder: Self = Self(1i32); - pub const Desktop: Self = Self(2i32); - pub const Downloads: Self = Self(3i32); - pub const HomeGroup: Self = Self(4i32); - pub const MusicLibrary: Self = Self(5i32); - pub const PicturesLibrary: Self = Self(6i32); - pub const VideosLibrary: Self = Self(7i32); - pub const Objects3D: Self = Self(8i32); - pub const Unspecified: Self = Self(9i32); -} -impl ::core::marker::Copy for PickerLocationId {} -impl ::core::clone::Clone for PickerLocationId { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PickerViewMode(pub i32); -impl PickerViewMode { - pub const List: Self = Self(0i32); - pub const Thumbnail: Self = Self(1i32); -} -impl ::core::marker::Copy for PickerViewMode {} -impl ::core::clone::Clone for PickerViewMode { - fn clone(&self) -> Self { - *self - } -} |