~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to gio/gvolume.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-06-27 09:56:08 UTC
  • mfrom: (1.4.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090627095608-pi9244lmozmr2cm6
Tags: 2.20.4-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 * is called, then it will be filled with any error information.
61
61
 *
62
62
 * <para id="volume-identifier">
63
 
 * It is sometimes necessary to directly access the underlying 
 
63
 * It is sometimes necessary to directly access the underlying
64
64
 * operating system object behind a volume (e.g. for passing a volume
65
65
 * to an application via the commandline). For this purpose, GIO
66
66
 * allows to obtain an 'identifier' for the volume. There can be
67
67
 * different kinds of identifiers, such as Hal UDIs, filesystem labels,
68
68
 * traditional Unix devices (e.g. <filename>/dev/sda2</filename>),
69
69
 * uuids. GIO uses predefind strings as names for the different kinds
70
 
 * of identifiers: #G_VOLUME_IDENTIFIER_KIND_HAL_UDI, 
71
 
 * #G_VOLUME_IDENTIFIER_KIND_LABEL, etc. Use g_volume_get_identifier() 
 
70
 * of identifiers: #G_VOLUME_IDENTIFIER_KIND_HAL_UDI,
 
71
 * #G_VOLUME_IDENTIFIER_KIND_LABEL, etc. Use g_volume_get_identifier()
72
72
 * to obtain an identifier for a volume.
73
73
 * </para>
74
 
 **/
 
74
 *
 
75
 * Note that #G_VOLUME_IDENTIFIER_KIND_HAL_UDI will only be available
 
76
 * when the gvfs hal volume monitor is in use. Other volume monitors
 
77
 * will generally be able to provide the #G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE
 
78
 * identifier, which can be used to obtain a hal device by means of
 
79
 * libhal_manger_find_device_string_match().
 
80
 */
75
81
 
76
82
static void g_volume_base_init (gpointer g_class);
77
83
static void g_volume_class_init (gpointer g_class,