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