gio/auto/constants.rs
1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use crate::ffi;
6use glib::GStr;
7
8/// Extension point for debug control functionality.
9/// See [Extending GIO](overview.html#extending-gio).
10#[cfg(feature = "v2_72")]
11#[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
12#[doc(alias = "G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME")]
13pub static DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &GStr =
14 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME) };
15/// The string used to obtain a Unix device path with g_drive_get_identifier().
16#[cfg(feature = "v2_58")]
17#[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
18#[doc(alias = "G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE")]
19pub static DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &GStr =
20 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE) };
21/// A key in the "access" namespace for checking deletion privileges.
22///
23/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
24///
25/// This attribute will be [`true`] if the user is able to delete the file.
26#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE")]
27pub static FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &GStr =
28 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE) };
29/// A key in the "access" namespace for getting execution privileges.
30///
31/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
32///
33/// This attribute will be [`true`] if the user is able to execute the file.
34#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE")]
35pub static FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &GStr =
36 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE) };
37/// A key in the "access" namespace for getting read privileges.
38///
39/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
40///
41/// This attribute will be [`true`] if the user is able to read the file.
42#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_READ")]
43pub static FILE_ATTRIBUTE_ACCESS_CAN_READ: &GStr =
44 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_READ) };
45/// A key in the "access" namespace for checking renaming privileges.
46///
47/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
48///
49/// This attribute will be [`true`] if the user is able to rename the file.
50#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME")]
51pub static FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &GStr =
52 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME) };
53/// A key in the "access" namespace for checking trashing privileges.
54///
55/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
56///
57/// This attribute will be [`true`] if the user is able to move the file to
58/// the trash.
59#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH")]
60pub static FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &GStr =
61 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH) };
62/// A key in the "access" namespace for getting write privileges.
63///
64/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
65///
66/// This attribute will be [`true`] if the user is able to write to the file.
67#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE")]
68pub static FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &GStr =
69 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE) };
70/// A key in the "dos" namespace for checking if the file's archive flag
71/// is set.
72///
73/// This attribute is [`true`] if the archive flag is set.
74///
75/// This attribute is only available for DOS file systems.
76///
77/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
78#[doc(alias = "G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE")]
79pub static FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &GStr =
80 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE) };
81/// A key in the "dos" namespace for checking if the file is a NTFS mount point
82/// (a volume mount or a junction point).
83///
84/// This attribute is [`true`] if file is a reparse point of type
85/// [IO_REPARSE_TAG_MOUNT_POINT](https://msdn.microsoft.com/en-us/library/dd541667.aspx).
86///
87/// This attribute is only available for DOS file systems.
88///
89/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
90#[cfg(feature = "v2_60")]
91#[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
92#[doc(alias = "G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT")]
93pub static FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &GStr =
94 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT) };
95/// A key in the "dos" namespace for checking if the file's backup flag
96/// is set.
97///
98/// This attribute is [`true`] if the backup flag is set.
99///
100/// This attribute is only available for DOS file systems.
101///
102/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
103#[doc(alias = "G_FILE_ATTRIBUTE_DOS_IS_SYSTEM")]
104pub static FILE_ATTRIBUTE_DOS_IS_SYSTEM: &GStr =
105 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_IS_SYSTEM) };
106/// A key in the "dos" namespace for getting the file NTFS reparse tag.
107///
108/// This value is 0 for files that are not reparse points.
109///
110/// See the [Reparse Tags](https://msdn.microsoft.com/en-us/library/dd541667.aspx)
111/// page for possible reparse tag values.
112///
113/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
114#[cfg(feature = "v2_60")]
115#[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
116#[doc(alias = "G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG")]
117pub static FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &GStr =
118 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG) };
119/// A key in the "etag" namespace for getting the value of the file's
120/// entity tag.
121///
122/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
123#[doc(alias = "G_FILE_ATTRIBUTE_ETAG_VALUE")]
124pub static FILE_ATTRIBUTE_ETAG_VALUE: &GStr =
125 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ETAG_VALUE) };
126/// A key in the "filesystem" namespace for getting the number of bytes
127/// of free space left on the file system.
128///
129/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
130#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_FREE")]
131pub static FILE_ATTRIBUTE_FILESYSTEM_FREE: &GStr =
132 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_FREE) };
133/// A key in the "filesystem" namespace for checking if the file system
134/// is read only.
135///
136/// Is set to [`true`] if the file system is read only.
137///
138/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
139#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_READONLY")]
140pub static FILE_ATTRIBUTE_FILESYSTEM_READONLY: &GStr =
141 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_READONLY) };
142/// A key in the "filesystem" namespace for checking if the file system
143/// is remote.
144///
145/// Is set to [`true`] if the file system is remote.
146///
147/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
148#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE")]
149pub static FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &GStr =
150 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE) };
151/// A key in the "filesystem" namespace for getting the total size (in
152/// bytes) of the file system, used in g_file_query_filesystem_info().
153///
154/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
155#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_SIZE")]
156pub static FILE_ATTRIBUTE_FILESYSTEM_SIZE: &GStr =
157 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_SIZE) };
158/// A key in the "filesystem" namespace for getting the file system's type.
159///
160/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
161#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_TYPE")]
162pub static FILE_ATTRIBUTE_FILESYSTEM_TYPE: &GStr =
163 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_TYPE) };
164/// A key in the "filesystem" namespace for getting the number of bytes
165/// used by data on the file system.
166///
167/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
168#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_USED")]
169pub static FILE_ATTRIBUTE_FILESYSTEM_USED: &GStr =
170 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_USED) };
171/// A key in the "filesystem" namespace for hinting a file manager
172/// application whether it should preview (e.g. thumbnail) files on the
173/// file system.
174///
175/// The value for this key contain a #GFilesystemPreviewType.
176#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW")]
177pub static FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &GStr =
178 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW) };
179/// A key in the "gvfs" namespace that gets the name of the current
180/// GVFS backend in use.
181///
182/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
183#[doc(alias = "G_FILE_ATTRIBUTE_GVFS_BACKEND")]
184pub static FILE_ATTRIBUTE_GVFS_BACKEND: &GStr =
185 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_GVFS_BACKEND) };
186/// s device number
187/// and inode, so is invariant with respect to hard linking. The format used by
188/// other VFS implementations may vary, and some VFS backends may not set it.
189///
190/// For simply seeing if two [`File`][crate::File] instances refer to the same path
191/// on disk, see `Gio::File::equal()`.
192#[doc(alias = "G_FILE_ATTRIBUTE_ID_FILE")]
193pub static FILE_ATTRIBUTE_ID_FILE: &GStr =
194 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ID_FILE) };
195/// A key in the "id" namespace for getting the file system identifier.
196///
197/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
198///
199/// An example use would be during drag and drop to see if the source
200/// and target are on the same filesystem (default to move) or not (default
201/// to copy).
202#[doc(alias = "G_FILE_ATTRIBUTE_ID_FILESYSTEM")]
203pub static FILE_ATTRIBUTE_ID_FILESYSTEM: &GStr =
204 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ID_FILESYSTEM) };
205/// A key in the "mountable" namespace for checking if a file (of
206/// type G_FILE_TYPE_MOUNTABLE) can be ejected.
207///
208/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
209#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT")]
210pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &GStr =
211 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT) };
212/// A key in the "mountable" namespace for checking if a file (of
213/// type G_FILE_TYPE_MOUNTABLE) is mountable.
214///
215/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
216#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT")]
217pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &GStr =
218 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT) };
219/// A key in the "mountable" namespace for checking if a file (of
220/// type G_FILE_TYPE_MOUNTABLE) can be polled.
221///
222/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
223#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL")]
224pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &GStr =
225 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL) };
226/// A key in the "mountable" namespace for checking if a file (of
227/// type G_FILE_TYPE_MOUNTABLE) can be started.
228///
229/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
230#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START")]
231pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &GStr =
232 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START) };
233/// A key in the "mountable" namespace for checking if a file (of
234/// type G_FILE_TYPE_MOUNTABLE) can be started degraded.
235///
236/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
237#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED")]
238pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &GStr = unsafe {
239 GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED)
240};
241/// A key in the "mountable" namespace for checking if a file (of
242/// type G_FILE_TYPE_MOUNTABLE) can be stopped.
243///
244/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
245#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP")]
246pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &GStr =
247 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP) };
248/// A key in the "mountable" namespace for checking if a file (of
249/// type G_FILE_TYPE_MOUNTABLE) is unmountable.
250///
251/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
252#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT")]
253pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &GStr =
254 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT) };
255/// A key in the "mountable" namespace for getting the HAL UDI for the mountable
256/// file.
257///
258/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
259#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI")]
260pub static FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &GStr =
261 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI) };
262/// A key in the "mountable" namespace for checking if a file (of
263/// type G_FILE_TYPE_MOUNTABLE) is automatically polled for media.
264///
265/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
266#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
267pub static FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &GStr = unsafe {
268 GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC)
269};
270/// A key in the "mountable" namespace for getting the #GDriveStartStopType.
271///
272/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
273#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE")]
274pub static FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &GStr =
275 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE) };
276/// A key in the "mountable" namespace for getting the unix device.
277///
278/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
279#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE")]
280pub static FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &GStr =
281 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE) };
282/// A key in the "mountable" namespace for getting the unix device file.
283///
284/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
285#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE")]
286pub static FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &GStr =
287 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE) };
288/// A key in the "owner" namespace for getting the file owner's group.
289///
290/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
291#[doc(alias = "G_FILE_ATTRIBUTE_OWNER_GROUP")]
292pub static FILE_ATTRIBUTE_OWNER_GROUP: &GStr =
293 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_OWNER_GROUP) };
294/// A key in the "owner" namespace for getting the user name of the
295/// file's owner.
296///
297/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
298#[doc(alias = "G_FILE_ATTRIBUTE_OWNER_USER")]
299pub static FILE_ATTRIBUTE_OWNER_USER: &GStr =
300 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_OWNER_USER) };
301/// A key in the "owner" namespace for getting the real name of the
302/// user that owns the file.
303///
304/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
305#[doc(alias = "G_FILE_ATTRIBUTE_OWNER_USER_REAL")]
306pub static FILE_ATTRIBUTE_OWNER_USER_REAL: &GStr =
307 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_OWNER_USER_REAL) };
308/// A key in the "preview" namespace for getting a #GIcon that can be
309/// used to get preview of the file.
310///
311/// For example, it may be a low resolution thumbnail without metadata.
312///
313/// Corresponding #GFileAttributeType is [`FileAttributeType::Object`][crate::FileAttributeType::Object].
314///
315/// The value for this key should contain a #GIcon.
316#[doc(alias = "G_FILE_ATTRIBUTE_PREVIEW_ICON")]
317pub static FILE_ATTRIBUTE_PREVIEW_ICON: &GStr =
318 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_PREVIEW_ICON) };
319/// A key in the "recent" namespace for getting time, when the metadata for the
320/// file in `recent:///` was last changed.
321///
322/// Corresponding #GFileAttributeType is [`FileAttributeType::Int64`][crate::FileAttributeType::Int64].
323#[doc(alias = "G_FILE_ATTRIBUTE_RECENT_MODIFIED")]
324pub static FILE_ATTRIBUTE_RECENT_MODIFIED: &GStr =
325 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_RECENT_MODIFIED) };
326/// A key in the "selinux" namespace for getting the file's SELinux
327/// context.
328///
329/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
330///
331/// Note that this attribute is only available if GLib has been built
332/// with SELinux support.
333#[doc(alias = "G_FILE_ATTRIBUTE_SELINUX_CONTEXT")]
334pub static FILE_ATTRIBUTE_SELINUX_CONTEXT: &GStr =
335 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_SELINUX_CONTEXT) };
336/// A key in the "standard" namespace for getting the amount of disk space
337/// that is consumed by the file (in bytes).
338///
339/// This will generally be larger than the file size (due to block size
340/// overhead) but can occasionally be smaller (for example, for sparse files).
341///
342/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
343#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE")]
344pub static FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &GStr =
345 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE) };
346/// A key in the "standard" namespace for getting the content type of the file.
347///
348/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
349///
350/// The value for this key should contain a valid content type.
351#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE")]
352pub static FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &GStr =
353 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE) };
354/// A key in the "standard" namespace for getting the copy name of the file.
355///
356/// The copy name is an optional version of the name. If available it's always
357/// in UTF8, and corresponds directly to the original filename (only transcoded to
358/// UTF8). This is useful if you want to copy the file to another filesystem that
359/// might have a different encoding. If the filename is not a valid string in the
360/// encoding selected for the filesystem it is in then the copy name will not be set.
361///
362/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
363#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_COPY_NAME")]
364pub static FILE_ATTRIBUTE_STANDARD_COPY_NAME: &GStr =
365 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_COPY_NAME) };
366/// A key in the "standard" namespace for getting the description of the file.
367///
368/// The description is a utf8 string that describes the file, generally containing
369/// the filename, but can also contain further information. Example descriptions
370/// could be "filename (on hostname)" for a remote file or "filename (in trash)"
371/// for a file in the trash. This is useful for instance as the window title
372/// when displaying a directory or for a bookmarks menu.
373///
374/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
375#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION")]
376pub static FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &GStr =
377 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION) };
378/// A key in the "standard" namespace for getting the display name of the file.
379///
380/// A display name is guaranteed to be in UTF-8 and can thus be displayed in
381/// the UI. It is guaranteed to be set on every file.
382///
383/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
384#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME")]
385pub static FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &GStr =
386 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME) };
387/// A key in the "standard" namespace for edit name of the file.
388///
389/// An edit name is similar to the display name, but it is meant to be
390/// used when you want to rename the file in the UI. The display name
391/// might contain information you don't want in the new filename (such as
392/// "(invalid unicode)" if the filename was in an invalid encoding).
393///
394/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
395#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME")]
396pub static FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &GStr =
397 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) };
398/// A key in the "standard" namespace for getting the fast content type.
399///
400/// The fast content type isn't as reliable as the regular one, as it
401/// only uses the filename to guess it, but it is faster to calculate than the
402/// regular content type.
403///
404/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
405#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE")]
406pub static FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &GStr =
407 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE) };
408/// A key in the "standard" namespace for getting the icon for the file.
409///
410/// Corresponding #GFileAttributeType is [`FileAttributeType::Object`][crate::FileAttributeType::Object].
411///
412/// The value for this key should contain a #GIcon.
413#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_ICON")]
414pub static FILE_ATTRIBUTE_STANDARD_ICON: &GStr =
415 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_ICON) };
416/// A key in the "standard" namespace for checking if a file is a backup file.
417///
418/// The exact semantics of what constitutes a backup file are backend-specific.
419/// For local files, a file is considered a backup if its name ends with `~`
420/// and it is a regular file. This follows the POSIX convention used by text
421/// editors such as Emacs.
422///
423/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
424#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP")]
425pub static FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &GStr =
426 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP) };
427/// A key in the "standard" namespace for checking if a file is hidden.
428///
429/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
430#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN")]
431pub static FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &GStr =
432 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN) };
433/// A key in the "standard" namespace for checking if the file is a symlink.
434/// Typically the actual type is something else, if we followed the symlink
435/// to get the type.
436///
437/// On Windows NTFS mountpoints are considered to be symlinks as well.
438///
439/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
440#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK")]
441pub static FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &GStr =
442 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK) };
443/// A key in the "standard" namespace for checking if a file is virtual.
444///
445/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
446#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL")]
447pub static FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &GStr =
448 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL) };
449/// A key in the "standard" namespace for checking if a file is
450/// volatile. This is meant for opaque, non-POSIX-like backends to
451/// indicate that the URI is not persistent. Applications should look
452/// at [`FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET`][crate::FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET] for the persistent URI.
453///
454/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
455#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE")]
456pub static FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &GStr =
457 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE) };
458/// A key in the "standard" namespace for getting the name of the file.
459///
460/// The name is the on-disk filename which may not be in any known encoding,
461/// and can thus not be generally displayed as is. It is guaranteed to be set on
462/// every file.
463///
464/// Use [`FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME`][crate::FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME] if you need to display the
465/// name in a user interface.
466///
467/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
468#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_NAME")]
469pub static FILE_ATTRIBUTE_STANDARD_NAME: &GStr =
470 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_NAME) };
471/// A key in the "standard" namespace for getting the file's size (in bytes).
472///
473/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
474#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SIZE")]
475pub static FILE_ATTRIBUTE_STANDARD_SIZE: &GStr =
476 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SIZE) };
477/// A key in the "standard" namespace for setting the sort order of a file.
478///
479/// Corresponding #GFileAttributeType is [`FileAttributeType::Int32`][crate::FileAttributeType::Int32].
480///
481/// An example use would be in file managers, which would use this key
482/// to set the order files are displayed. Files with smaller sort order
483/// should be sorted first, and files without sort order as if sort order
484/// was zero.
485#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER")]
486pub static FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &GStr =
487 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER) };
488/// A key in the "standard" namespace for getting the symbolic icon for the file.
489///
490/// Corresponding #GFileAttributeType is [`FileAttributeType::Object`][crate::FileAttributeType::Object].
491///
492/// The value for this key should contain a #GIcon.
493#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON")]
494pub static FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &GStr =
495 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON) };
496/// A key in the "standard" namespace for getting the symlink target, if the file
497/// is a symlink.
498///
499/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
500#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET")]
501pub static FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &GStr =
502 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET) };
503/// A key in the "standard" namespace for getting the target URI for the file, in
504/// the case of [`FileType::Shortcut`][crate::FileType::Shortcut] or [`FileType::Mountable`][crate::FileType::Mountable] files.
505///
506/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
507#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_TARGET_URI")]
508pub static FILE_ATTRIBUTE_STANDARD_TARGET_URI: &GStr =
509 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_TARGET_URI) };
510/// A key in the "standard" namespace for storing file types.
511///
512/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
513///
514/// The value for this key should contain a #GFileType.
515#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_TYPE")]
516pub static FILE_ATTRIBUTE_STANDARD_TYPE: &GStr =
517 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_TYPE) };
518/// A key in the "thumbnail" namespace for checking if thumbnailing failed.
519///
520/// This attribute is [`true`] if thumbnailing failed.
521///
522/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
523#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED")]
524pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED: &GStr =
525 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED) };
526/// A key in the "thumbnail" namespace for checking if thumbnailing failed
527/// for the large image.
528///
529/// This attribute is [`true`] if thumbnailing failed.
530///
531/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
532#[cfg(feature = "v2_76")]
533#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
534#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE")]
535pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE: &GStr =
536 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE) };
537/// A key in the "thumbnail" namespace for checking if thumbnailing failed
538/// for the normal image.
539///
540/// This attribute is [`true`] if thumbnailing failed.
541///
542/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
543#[cfg(feature = "v2_76")]
544#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
545#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL")]
546pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL: &GStr =
547 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL) };
548/// A key in the "thumbnail" namespace for checking if thumbnailing failed
549/// for the x-large image.
550///
551/// This attribute is [`true`] if thumbnailing failed.
552///
553/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
554#[cfg(feature = "v2_76")]
555#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
556#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE")]
557pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE: &GStr =
558 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE) };
559/// A key in the "thumbnail" namespace for checking if thumbnailing failed
560/// for the xx-large image.
561///
562/// This attribute is [`true`] if thumbnailing failed.
563///
564/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
565#[cfg(feature = "v2_76")]
566#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
567#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE")]
568pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE: &GStr = unsafe {
569 GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE)
570};
571/// A key in the "thumbnail" namespace for checking whether the thumbnail is outdated.
572///
573/// This attribute is [`true`] if the thumbnail is up-to-date with the file it represents,
574/// and [`false`] if the file has been modified since the thumbnail was generated.
575///
576/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED] is [`true`] and this attribute is [`false`],
577/// it indicates that thumbnailing may be attempted again and may succeed.
578///
579/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
580#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID")]
581pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &GStr =
582 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID) };
583/// A key in the "thumbnail" namespace for checking whether the large
584/// thumbnail is outdated.
585///
586/// This attribute is [`true`] if the large thumbnail is up-to-date with the file
587/// it represents, and [`false`] if the file has been modified since the thumbnail
588/// was generated.
589///
590/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE] is [`true`] and this attribute
591/// is [`false`], it indicates that thumbnailing may be attempted again and may
592/// succeed.
593///
594/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
595#[cfg(feature = "v2_76")]
596#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
597#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE")]
598pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE: &GStr =
599 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE) };
600/// A key in the "thumbnail" namespace for checking whether the normal
601/// thumbnail is outdated.
602///
603/// This attribute is [`true`] if the normal thumbnail is up-to-date with the file
604/// it represents, and [`false`] if the file has been modified since the thumbnail
605/// was generated.
606///
607/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL] is [`true`] and this attribute
608/// is [`false`], it indicates that thumbnailing may be attempted again and may
609/// succeed.
610///
611/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
612#[cfg(feature = "v2_76")]
613#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
614#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL")]
615pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL: &GStr =
616 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL) };
617/// A key in the "thumbnail" namespace for checking whether the x-large
618/// thumbnail is outdated.
619///
620/// This attribute is [`true`] if the x-large thumbnail is up-to-date with the file
621/// it represents, and [`false`] if the file has been modified since the thumbnail
622/// was generated.
623///
624/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE] is [`true`] and this attribute
625/// is [`false`], it indicates that thumbnailing may be attempted again and may
626/// succeed.
627///
628/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
629#[cfg(feature = "v2_76")]
630#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
631#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE")]
632pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE: &GStr =
633 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE) };
634/// A key in the "thumbnail" namespace for checking whether the xx-large
635/// thumbnail is outdated.
636///
637/// This attribute is [`true`] if the x-large thumbnail is up-to-date with the file
638/// it represents, and [`false`] if the file has been modified since the thumbnail
639/// was generated.
640///
641/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE] is [`true`] and this attribute
642/// is [`false`], it indicates that thumbnailing may be attempted again and may
643/// succeed.
644///
645/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
646#[cfg(feature = "v2_76")]
647#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
648#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE")]
649pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE: &GStr =
650 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE) };
651/// A key in the "thumbnail" namespace for getting the path to the thumbnail
652/// image with the biggest size available.
653///
654/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
655#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH")]
656pub static FILE_ATTRIBUTE_THUMBNAIL_PATH: &GStr =
657 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH) };
658/// A key in the "thumbnail" namespace for getting the path to the large
659/// thumbnail image.
660///
661/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
662#[cfg(feature = "v2_76")]
663#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
664#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE")]
665pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE: &GStr =
666 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE) };
667/// A key in the "thumbnail" namespace for getting the path to the normal
668/// thumbnail image.
669///
670/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
671#[cfg(feature = "v2_76")]
672#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
673#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL")]
674pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL: &GStr =
675 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL) };
676/// A key in the "thumbnail" namespace for getting the path to the x-large
677/// thumbnail image.
678///
679/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
680#[cfg(feature = "v2_76")]
681#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
682#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE")]
683pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE: &GStr =
684 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE) };
685/// A key in the "thumbnail" namespace for getting the path to the xx-large
686/// thumbnail image.
687///
688/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
689#[cfg(feature = "v2_76")]
690#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
691#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE")]
692pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE: &GStr =
693 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE) };
694/// A key in the "time" namespace for getting the time the file was last
695/// accessed.
696///
697/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64], and
698/// contains the time since the file was last accessed, in seconds since the
699/// UNIX epoch.
700#[doc(alias = "G_FILE_ATTRIBUTE_TIME_ACCESS")]
701pub static FILE_ATTRIBUTE_TIME_ACCESS: &GStr =
702 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_ACCESS) };
703/// A key in the "time" namespace for getting the nanoseconds of the time
704/// the file was last accessed. This should be used in conjunction with
705/// #G_FILE_ATTRIBUTE_TIME_ACCESS. Corresponding #GFileAttributeType is
706/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
707#[cfg(feature = "v2_74")]
708#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
709#[doc(alias = "G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC")]
710pub static FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &GStr =
711 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC) };
712/// A key in the "time" namespace for getting the microseconds of the time
713/// the file was last accessed.
714///
715/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_ACCESS`][crate::FILE_ATTRIBUTE_TIME_ACCESS].
716///
717/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
718#[doc(alias = "G_FILE_ATTRIBUTE_TIME_ACCESS_USEC")]
719pub static FILE_ATTRIBUTE_TIME_ACCESS_USEC: &GStr =
720 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_ACCESS_USEC) };
721/// A key in the "time" namespace for getting the time the file was last
722/// changed.
723///
724/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64],
725/// and contains the time since the file was last changed, in seconds since
726/// the UNIX epoch.
727///
728/// This corresponds to the traditional UNIX ctime.
729#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CHANGED")]
730pub static FILE_ATTRIBUTE_TIME_CHANGED: &GStr =
731 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CHANGED) };
732/// A key in the "time" namespace for getting the nanoseconds of the time
733/// the file was last changed. This should be used in conjunction with
734/// #G_FILE_ATTRIBUTE_TIME_CHANGED. Corresponding #GFileAttributeType is
735/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
736#[cfg(feature = "v2_74")]
737#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
738#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC")]
739pub static FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &GStr =
740 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC) };
741/// A key in the "time" namespace for getting the microseconds of the time
742/// the file was last changed.
743///
744/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_CHANGED`][crate::FILE_ATTRIBUTE_TIME_CHANGED].
745///
746/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
747#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CHANGED_USEC")]
748pub static FILE_ATTRIBUTE_TIME_CHANGED_USEC: &GStr =
749 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CHANGED_USEC) };
750/// A key in the "time" namespace for getting the time the file was created.
751///
752/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64],
753/// and contains the time since the file was created, in seconds since the UNIX
754/// epoch.
755///
756/// This may correspond to Linux `stx_btime`, FreeBSD `st_birthtim`, NetBSD
757/// `st_birthtime` or NTFS `ctime`.
758#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CREATED")]
759pub static FILE_ATTRIBUTE_TIME_CREATED: &GStr =
760 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CREATED) };
761/// A key in the "time" namespace for getting the nanoseconds of the time
762/// the file was created. This should be used in conjunction with
763/// #G_FILE_ATTRIBUTE_TIME_CREATED. Corresponding #GFileAttributeType is
764/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
765#[cfg(feature = "v2_74")]
766#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
767#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CREATED_NSEC")]
768pub static FILE_ATTRIBUTE_TIME_CREATED_NSEC: &GStr =
769 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CREATED_NSEC) };
770/// A key in the "time" namespace for getting the microseconds of the time
771/// the file was created.
772///
773/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_CREATED`][crate::FILE_ATTRIBUTE_TIME_CREATED].
774///
775/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
776#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CREATED_USEC")]
777pub static FILE_ATTRIBUTE_TIME_CREATED_USEC: &GStr =
778 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CREATED_USEC) };
779/// A key in the "time" namespace for getting the time the file was last
780/// modified.
781///
782/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64], and
783/// contains the time since the file was modified, in seconds since the UNIX
784/// epoch.
785#[doc(alias = "G_FILE_ATTRIBUTE_TIME_MODIFIED")]
786pub static FILE_ATTRIBUTE_TIME_MODIFIED: &GStr =
787 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_MODIFIED) };
788/// A key in the "time" namespace for getting the nanoseconds of the time
789/// the file was last modified. This should be used in conjunction with
790/// #G_FILE_ATTRIBUTE_TIME_MODIFIED. Corresponding #GFileAttributeType is
791/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
792#[cfg(feature = "v2_74")]
793#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
794#[doc(alias = "G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC")]
795pub static FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &GStr =
796 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC) };
797/// A key in the "time" namespace for getting the microseconds of the time
798/// the file was last modified.
799///
800/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_MODIFIED`][crate::FILE_ATTRIBUTE_TIME_MODIFIED].
801///
802/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
803#[doc(alias = "G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC")]
804pub static FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &GStr =
805 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC) };
806/// A key in the "trash" namespace for getting the deletion date and time
807/// of a file inside the `trash:///` folder.
808///
809/// The format of the returned string is `YYYY-MM-DDThh:mm:ss`.
810///
811/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
812#[doc(alias = "G_FILE_ATTRIBUTE_TRASH_DELETION_DATE")]
813pub static FILE_ATTRIBUTE_TRASH_DELETION_DATE: &GStr =
814 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TRASH_DELETION_DATE) };
815/// A key in the "trash" namespace for getting the number of (toplevel) items
816/// that are present in the `trash:///` folder.
817///
818/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
819#[doc(alias = "G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT")]
820pub static FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &GStr =
821 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT) };
822/// A key in the "trash" namespace for getting the original path of a file
823/// inside the `trash:///` folder before it was trashed.
824///
825/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
826#[doc(alias = "G_FILE_ATTRIBUTE_TRASH_ORIG_PATH")]
827pub static FILE_ATTRIBUTE_TRASH_ORIG_PATH: &GStr =
828 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TRASH_ORIG_PATH) };
829/// A key in the "unix" namespace for getting the number of blocks allocated
830/// for the file.
831///
832/// This attribute is only available for UNIX file systems.
833///
834/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
835#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_BLOCKS")]
836pub static FILE_ATTRIBUTE_UNIX_BLOCKS: &GStr =
837 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_BLOCKS) };
838/// A key in the "unix" namespace for getting the block size for the file
839/// system.
840///
841/// This attribute is only available for UNIX file systems.
842///
843/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
844#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE")]
845pub static FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &GStr =
846 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE) };
847/// A key in the "unix" namespace for getting the device id of the device the
848/// file is located on (see stat() documentation).
849///
850/// This attribute is only available for UNIX file systems.
851///
852/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
853#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_DEVICE")]
854pub static FILE_ATTRIBUTE_UNIX_DEVICE: &GStr =
855 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_DEVICE) };
856/// A key in the "unix" namespace for getting the group ID for the file.
857///
858/// This attribute is only available for UNIX file systems.
859///
860/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
861#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_GID")]
862pub static FILE_ATTRIBUTE_UNIX_GID: &GStr =
863 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_GID) };
864/// A key in the "unix" namespace for getting the inode of the file.
865///
866/// This attribute is only available for UNIX file systems.
867///
868/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
869#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_INODE")]
870pub static FILE_ATTRIBUTE_UNIX_INODE: &GStr =
871 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_INODE) };
872/// A key in the "unix" namespace for checking if the file represents a
873/// UNIX mount point.
874///
875/// This attribute is [`true`] if the file is a UNIX mount point.
876///
877/// Since 2.58, `/` is considered to be a mount point.
878///
879/// This attribute is only available for UNIX file systems.
880///
881/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
882#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT")]
883pub static FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &GStr =
884 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT) };
885/// A key in the "unix" namespace for getting the mode of the file
886/// (e.g. whether the file is a regular file, symlink, etc).
887///
888/// See the documentation for `lstat()`: this attribute is equivalent to
889/// the `st_mode` member of `struct stat`, and includes both the file type
890/// and permissions.
891///
892/// This attribute is only available for UNIX file systems.
893///
894/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
895#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_MODE")]
896pub static FILE_ATTRIBUTE_UNIX_MODE: &GStr =
897 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_MODE) };
898/// A key in the "unix" namespace for getting the number of hard links
899/// for a file.
900///
901/// See the documentation for `lstat()`.
902///
903/// This attribute is only available for UNIX file systems.
904///
905/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
906#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_NLINK")]
907pub static FILE_ATTRIBUTE_UNIX_NLINK: &GStr =
908 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_NLINK) };
909/// A key in the "unix" namespace for getting the device ID for the file
910/// (if it is a special file).
911///
912/// See the documentation for `lstat()`.
913///
914/// This attribute is only available for UNIX file systems.
915///
916/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
917#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_RDEV")]
918pub static FILE_ATTRIBUTE_UNIX_RDEV: &GStr =
919 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_RDEV) };
920/// A key in the "unix" namespace for getting the user ID for the file.
921///
922/// This attribute is only available for UNIX file systems.
923///
924/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
925#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_UID")]
926pub static FILE_ATTRIBUTE_UNIX_UID: &GStr =
927 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_UID) };
928/// Extension point for memory usage monitoring functionality.
929/// See [Extending GIO](overview.html#extending-gio).
930#[cfg(feature = "v2_64")]
931#[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
932#[doc(alias = "G_MEMORY_MONITOR_EXTENSION_POINT_NAME")]
933pub static MEMORY_MONITOR_EXTENSION_POINT_NAME: &GStr =
934 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MEMORY_MONITOR_EXTENSION_POINT_NAME) };
935/// The menu item attribute which holds the action name of the item. Action
936/// names are namespaced with an identifier for the action group in which the
937/// action resides. For example, "win." for window-specific actions and "app."
938/// for application-wide actions.
939///
940/// See also g_menu_model_get_item_attribute() and g_menu_item_set_attribute().
941#[doc(alias = "G_MENU_ATTRIBUTE_ACTION")]
942pub static MENU_ATTRIBUTE_ACTION: &GStr =
943 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_ACTION) };
944/// The menu item attribute that holds the namespace for all action names in
945/// menus that are linked from this item.
946#[doc(alias = "G_MENU_ATTRIBUTE_ACTION_NAMESPACE")]
947pub static MENU_ATTRIBUTE_ACTION_NAMESPACE: &GStr =
948 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_ACTION_NAMESPACE) };
949/// The menu item attribute which holds the icon of the item.
950///
951/// The icon is stored in the format returned by g_icon_serialize().
952///
953/// This attribute is intended only to represent 'noun' icons such as
954/// favicons for a webpage, or application icons. It should not be used
955/// for 'verbs' (ie: stock icons).
956#[doc(alias = "G_MENU_ATTRIBUTE_ICON")]
957pub static MENU_ATTRIBUTE_ICON: &GStr =
958 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_ICON) };
959/// The menu item attribute which holds the label of the item.
960#[doc(alias = "G_MENU_ATTRIBUTE_LABEL")]
961pub static MENU_ATTRIBUTE_LABEL: &GStr =
962 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_LABEL) };
963/// The menu item attribute which holds the target with which the item's action
964/// will be activated.
965///
966/// See also g_menu_item_set_action_and_target()
967#[doc(alias = "G_MENU_ATTRIBUTE_TARGET")]
968pub static MENU_ATTRIBUTE_TARGET: &GStr =
969 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_TARGET) };
970/// The name of the link that associates a menu item with a section. The linked
971/// menu will usually be shown in place of the menu item, using the item's label
972/// as a header.
973///
974/// See also g_menu_item_set_link().
975#[doc(alias = "G_MENU_LINK_SECTION")]
976pub static MENU_LINK_SECTION: &GStr =
977 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_LINK_SECTION) };
978/// The name of the link that associates a menu item with a submenu.
979///
980/// See also g_menu_item_set_link().
981#[doc(alias = "G_MENU_LINK_SUBMENU")]
982pub static MENU_LINK_SUBMENU: &GStr =
983 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_LINK_SUBMENU) };
984#[doc(alias = "G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
985pub static NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &GStr = unsafe {
986 GStr::from_utf8_with_nul_unchecked(ffi::G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME)
987};
988/// Extension point for network status monitoring functionality.
989/// See [Extending GIO](overview.html#extending-gio).
990#[doc(alias = "G_NETWORK_MONITOR_EXTENSION_POINT_NAME")]
991pub static NETWORK_MONITOR_EXTENSION_POINT_NAME: &GStr =
992 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_NETWORK_MONITOR_EXTENSION_POINT_NAME) };
993/// Extension point for power profile usage monitoring functionality.
994/// See [Extending GIO](overview.html#extending-gio).
995#[cfg(feature = "v2_70")]
996#[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
997#[doc(alias = "G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME")]
998pub static POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &GStr = unsafe {
999 GStr::from_utf8_with_nul_unchecked(ffi::G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME)
1000};
1001/// Extension point for proxy functionality.
1002/// See [Extending GIO](overview.html#extending-gio).
1003#[doc(alias = "G_PROXY_EXTENSION_POINT_NAME")]
1004pub static PROXY_EXTENSION_POINT_NAME: &GStr =
1005 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_PROXY_EXTENSION_POINT_NAME) };
1006/// Extension point for proxy resolving functionality.
1007/// See [Extending GIO](overview.html#extending-gio).
1008#[doc(alias = "G_PROXY_RESOLVER_EXTENSION_POINT_NAME")]
1009pub static PROXY_RESOLVER_EXTENSION_POINT_NAME: &GStr =
1010 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_PROXY_RESOLVER_EXTENSION_POINT_NAME) };
1011/// Extension point for #GSettingsBackend functionality.
1012#[doc(alias = "G_SETTINGS_BACKEND_EXTENSION_POINT_NAME")]
1013pub static SETTINGS_BACKEND_EXTENSION_POINT_NAME: &GStr =
1014 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_SETTINGS_BACKEND_EXTENSION_POINT_NAME) };
1015/// Extension point for TLS functionality via #GTlsBackend.
1016/// See [Extending GIO](overview.html#extending-gio).
1017#[doc(alias = "G_TLS_BACKEND_EXTENSION_POINT_NAME")]
1018pub static TLS_BACKEND_EXTENSION_POINT_NAME: &GStr =
1019 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TLS_BACKEND_EXTENSION_POINT_NAME) };
1020/// The purpose used to verify the client certificate in a TLS connection.
1021/// Used by TLS servers.
1022#[doc(alias = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT")]
1023pub static TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &GStr =
1024 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT) };
1025/// The purpose used to verify the server certificate in a TLS connection. This
1026/// is the most common purpose in use. Used by TLS clients.
1027#[doc(alias = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER")]
1028pub static TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &GStr =
1029 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER) };
1030/// Extension point for #GVfs functionality.
1031/// See [Extending GIO](overview.html#extending-gio).
1032#[doc(alias = "G_VFS_EXTENSION_POINT_NAME")]
1033pub static VFS_EXTENSION_POINT_NAME: &GStr =
1034 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VFS_EXTENSION_POINT_NAME) };
1035/// The string used to obtain the volume class with g_volume_get_identifier().
1036///
1037/// Known volume classes include `device`, `network`, and `loop`. Other
1038/// classes may be added in the future.
1039///
1040/// This is intended to be used by applications to classify #GVolume
1041/// instances into different sections - for example a file manager or
1042/// file chooser can use this information to show `network` volumes under
1043/// a "Network" heading and `device` volumes under a "Devices" heading.
1044#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_CLASS")]
1045pub static VOLUME_IDENTIFIER_KIND_CLASS: &GStr =
1046 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_CLASS) };
1047/// The string used to obtain a Hal UDI with g_volume_get_identifier().
1048#[cfg_attr(feature = "v2_58", deprecated = "Since 2.58")]
1049#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_HAL_UDI")]
1050pub static VOLUME_IDENTIFIER_KIND_HAL_UDI: &GStr =
1051 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_HAL_UDI) };
1052/// The string used to obtain a filesystem label with g_volume_get_identifier().
1053#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_LABEL")]
1054pub static VOLUME_IDENTIFIER_KIND_LABEL: &GStr =
1055 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_LABEL) };
1056/// The string used to obtain a NFS mount with g_volume_get_identifier().
1057#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT")]
1058pub static VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &GStr =
1059 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT) };
1060/// The string used to obtain a Unix device path with g_volume_get_identifier().
1061#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE")]
1062pub static VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &GStr =
1063 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE) };
1064/// The string used to obtain a UUID with g_volume_get_identifier().
1065#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_UUID")]
1066pub static VOLUME_IDENTIFIER_KIND_UUID: &GStr =
1067 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_UUID) };
1068/// Extension point for volume monitor functionality.
1069/// See [Extending GIO](overview.html#extending-gio).
1070#[doc(alias = "G_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
1071pub static VOLUME_MONITOR_EXTENSION_POINT_NAME: &GStr =
1072 unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_MONITOR_EXTENSION_POINT_NAME) };