blob: 97d5af3e074c9839758161e61cd67f5393e92d4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#![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
}
}
|