• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:volume

1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright (C) 2006-2007 Red Hat, Inc.
40 #define G_VOLUME_IDENTIFIER_KIND_HAL_UDI "hal-udi" GLIB_DEPRECATED_MACRO_IN_2_58
47 #define G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE "unix-device"
68 #define G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT "nfs-mount"
73 * The string used to obtain the volume class with g_volume_get_identifier().
75 * Known volume classes include `device`, `network`, and `loop`. Other
79 * instances into different sections - for example a file manager or
94 * @changed: Changed signal that is emitted when the volume's state has changed.
99 …* @get_drive: Gets a #GDrive the volume is located on. Returns %NULL if the #GVolume is not associ…
100 …* @get_mount: Gets a #GMount representing the mounted volume. Returns %NULL if the #GVolume is not…
110 * @get_identifier: Returns the [identifier][volume-identifier] of the given kind, or %NULL if
113 * of [identifiers][volume-identifier] which the #GVolume has.
132 void (* changed) (GVolume *volume);
133 void (* removed) (GVolume *volume);
137 char * (* get_name) (GVolume *volume);
138 GIcon * (* get_icon) (GVolume *volume);
139 char * (* get_uuid) (GVolume *volume);
140 GDrive * (* get_drive) (GVolume *volume);
141 GMount * (* get_mount) (GVolume *volume);
142 gboolean (* can_mount) (GVolume *volume);
143 gboolean (* can_eject) (GVolume *volume);
144 void (* mount_fn) (GVolume *volume,
150 gboolean (* mount_finish) (GVolume *volume,
153 void (* eject) (GVolume *volume,
158 gboolean (* eject_finish) (GVolume *volume,
162 char * (* get_identifier) (GVolume *volume,
164 char ** (* enumerate_identifiers) (GVolume *volume);
166 gboolean (* should_automount) (GVolume *volume);
168 GFile * (* get_activation_root) (GVolume *volume);
170 void (* eject_with_operation) (GVolume *volume,
176 gboolean (* eject_with_operation_finish) (GVolume *volume,
180 const gchar * (* get_sort_key) (GVolume *volume);
181 GIcon * (* get_symbolic_icon) (GVolume *volume);
188 char * g_volume_get_name (GVolume *volume);
190 GIcon * g_volume_get_icon (GVolume *volume);
192 GIcon * g_volume_get_symbolic_icon (GVolume *volume);
194 char * g_volume_get_uuid (GVolume *volume);
196 GDrive * g_volume_get_drive (GVolume *volume);
198 GMount * g_volume_get_mount (GVolume *volume);
200 gboolean g_volume_can_mount (GVolume *volume);
202 gboolean g_volume_can_eject (GVolume *volume);
204 gboolean g_volume_should_automount (GVolume *volume);
206 void g_volume_mount (GVolume *volume,
213 gboolean g_volume_mount_finish (GVolume *volume,
217 void g_volume_eject (GVolume *volume,
224 gboolean g_volume_eject_finish (GVolume *volume,
228 char * g_volume_get_identifier (GVolume *volume,
231 char ** g_volume_enumerate_identifiers (GVolume *volume);
234 GFile * g_volume_get_activation_root (GVolume *volume);
237 void g_volume_eject_with_operation (GVolume *volume,
244 gboolean g_volume_eject_with_operation_finish (GVolume *volume,
249 const gchar *g_volume_get_sort_key (GVolume *volume);