]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type BasicProperties = *mut ::core::ffi::c_void; |
2 | pub type DocumentProperties = *mut ::core::ffi::c_void; | |
3 | pub type IStorageItemExtraProperties = *mut ::core::ffi::c_void; | |
4 | pub type ImageProperties = *mut ::core::ffi::c_void; | |
5 | pub type MusicProperties = *mut ::core::ffi::c_void; | |
04454e1e | 6 | #[doc = "*Required features: `\"Storage_FileProperties\"`*"] |
5e7ed085 FG |
7 | #[repr(transparent)] |
8 | pub struct PhotoOrientation(pub i32); | |
9 | impl PhotoOrientation { | |
10 | pub const Unspecified: Self = Self(0i32); | |
11 | pub const Normal: Self = Self(1i32); | |
12 | pub const FlipHorizontal: Self = Self(2i32); | |
13 | pub const Rotate180: Self = Self(3i32); | |
14 | pub const FlipVertical: Self = Self(4i32); | |
15 | pub const Transpose: Self = Self(5i32); | |
16 | pub const Rotate270: Self = Self(6i32); | |
17 | pub const Transverse: Self = Self(7i32); | |
18 | pub const Rotate90: Self = Self(8i32); | |
19 | } | |
20 | impl ::core::marker::Copy for PhotoOrientation {} | |
21 | impl ::core::clone::Clone for PhotoOrientation { | |
22 | fn clone(&self) -> Self { | |
23 | *self | |
24 | } | |
25 | } | |
04454e1e | 26 | #[doc = "*Required features: `\"Storage_FileProperties\"`*"] |
5e7ed085 FG |
27 | #[repr(transparent)] |
28 | pub struct PropertyPrefetchOptions(pub u32); | |
29 | impl PropertyPrefetchOptions { | |
30 | pub const None: Self = Self(0u32); | |
31 | pub const MusicProperties: Self = Self(1u32); | |
32 | pub const VideoProperties: Self = Self(2u32); | |
33 | pub const ImageProperties: Self = Self(4u32); | |
34 | pub const DocumentProperties: Self = Self(8u32); | |
35 | pub const BasicProperties: Self = Self(16u32); | |
36 | } | |
37 | impl ::core::marker::Copy for PropertyPrefetchOptions {} | |
38 | impl ::core::clone::Clone for PropertyPrefetchOptions { | |
39 | fn clone(&self) -> Self { | |
40 | *self | |
41 | } | |
42 | } | |
43 | pub type StorageItemContentProperties = *mut ::core::ffi::c_void; | |
44 | pub type StorageItemThumbnail = *mut ::core::ffi::c_void; | |
04454e1e | 45 | #[doc = "*Required features: `\"Storage_FileProperties\"`*"] |
5e7ed085 FG |
46 | #[repr(transparent)] |
47 | pub struct ThumbnailMode(pub i32); | |
48 | impl ThumbnailMode { | |
49 | pub const PicturesView: Self = Self(0i32); | |
50 | pub const VideosView: Self = Self(1i32); | |
51 | pub const MusicView: Self = Self(2i32); | |
52 | pub const DocumentsView: Self = Self(3i32); | |
53 | pub const ListView: Self = Self(4i32); | |
54 | pub const SingleItem: Self = Self(5i32); | |
55 | } | |
56 | impl ::core::marker::Copy for ThumbnailMode {} | |
57 | impl ::core::clone::Clone for ThumbnailMode { | |
58 | fn clone(&self) -> Self { | |
59 | *self | |
60 | } | |
61 | } | |
04454e1e | 62 | #[doc = "*Required features: `\"Storage_FileProperties\"`*"] |
5e7ed085 FG |
63 | #[repr(transparent)] |
64 | pub struct ThumbnailOptions(pub u32); | |
65 | impl ThumbnailOptions { | |
66 | pub const None: Self = Self(0u32); | |
67 | pub const ReturnOnlyIfCached: Self = Self(1u32); | |
68 | pub const ResizeThumbnail: Self = Self(2u32); | |
69 | pub const UseCurrentScale: Self = Self(4u32); | |
70 | } | |
71 | impl ::core::marker::Copy for ThumbnailOptions {} | |
72 | impl ::core::clone::Clone for ThumbnailOptions { | |
73 | fn clone(&self) -> Self { | |
74 | *self | |
75 | } | |
76 | } | |
04454e1e | 77 | #[doc = "*Required features: `\"Storage_FileProperties\"`*"] |
5e7ed085 FG |
78 | #[repr(transparent)] |
79 | pub struct ThumbnailType(pub i32); | |
80 | impl ThumbnailType { | |
81 | pub const Image: Self = Self(0i32); | |
82 | pub const Icon: Self = Self(1i32); | |
83 | } | |
84 | impl ::core::marker::Copy for ThumbnailType {} | |
85 | impl ::core::clone::Clone for ThumbnailType { | |
86 | fn clone(&self) -> Self { | |
87 | *self | |
88 | } | |
89 | } | |
04454e1e | 90 | #[doc = "*Required features: `\"Storage_FileProperties\"`*"] |
5e7ed085 FG |
91 | #[repr(transparent)] |
92 | pub struct VideoOrientation(pub i32); | |
93 | impl VideoOrientation { | |
94 | pub const Normal: Self = Self(0i32); | |
95 | pub const Rotate90: Self = Self(90i32); | |
96 | pub const Rotate180: Self = Self(180i32); | |
97 | pub const Rotate270: Self = Self(270i32); | |
98 | } | |
99 | impl ::core::marker::Copy for VideoOrientation {} | |
100 | impl ::core::clone::Clone for VideoOrientation { | |
101 | fn clone(&self) -> Self { | |
102 | *self | |
103 | } | |
104 | } | |
105 | pub type VideoProperties = *mut ::core::ffi::c_void; |