]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "Storage_Pickers_Provider")] |
2 | pub mod Provider; | |
3 | pub type FileExtensionVector = *mut ::core::ffi::c_void; | |
4 | pub type FileOpenPicker = *mut ::core::ffi::c_void; | |
5 | pub type FilePickerFileTypesOrderedMap = *mut ::core::ffi::c_void; | |
6 | pub type FilePickerSelectedFilesArray = *mut ::core::ffi::c_void; | |
7 | pub type FileSavePicker = *mut ::core::ffi::c_void; | |
8 | pub type FolderPicker = *mut ::core::ffi::c_void; | |
04454e1e | 9 | #[doc = "*Required features: `\"Storage_Pickers\"`*"] |
5e7ed085 FG |
10 | #[repr(transparent)] |
11 | pub struct PickerLocationId(pub i32); | |
12 | impl PickerLocationId { | |
13 | pub const DocumentsLibrary: Self = Self(0i32); | |
14 | pub const ComputerFolder: Self = Self(1i32); | |
15 | pub const Desktop: Self = Self(2i32); | |
16 | pub const Downloads: Self = Self(3i32); | |
17 | pub const HomeGroup: Self = Self(4i32); | |
18 | pub const MusicLibrary: Self = Self(5i32); | |
19 | pub const PicturesLibrary: Self = Self(6i32); | |
20 | pub const VideosLibrary: Self = Self(7i32); | |
21 | pub const Objects3D: Self = Self(8i32); | |
22 | pub const Unspecified: Self = Self(9i32); | |
23 | } | |
24 | impl ::core::marker::Copy for PickerLocationId {} | |
25 | impl ::core::clone::Clone for PickerLocationId { | |
26 | fn clone(&self) -> Self { | |
27 | *self | |
28 | } | |
29 | } | |
04454e1e | 30 | #[doc = "*Required features: `\"Storage_Pickers\"`*"] |
5e7ed085 FG |
31 | #[repr(transparent)] |
32 | pub struct PickerViewMode(pub i32); | |
33 | impl PickerViewMode { | |
34 | pub const List: Self = Self(0i32); | |
35 | pub const Thumbnail: Self = Self(1i32); | |
36 | } | |
37 | impl ::core::marker::Copy for PickerViewMode {} | |
38 | impl ::core::clone::Clone for PickerViewMode { | |
39 | fn clone(&self) -> Self { | |
40 | *self | |
41 | } | |
42 | } |