mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 08:23:38 +02:00
Add new method g_volume_get_activation_root(). This is needed for easily
2008-07-06 David Zeuthen <davidz@redhat.com> * gio.symbols: * gvolume.[ch]: Add new method g_volume_get_activation_root(). This is needed for easily handling adoption of foreign volumes by out-of-process volume monitors (#541793) svn path=/trunk/; revision=7169
This commit is contained in:
committed by
David Zeuthen
parent
7a5a2be92b
commit
2b714b5f20
@@ -94,6 +94,8 @@ G_BEGIN_DECLS
|
||||
* @enumerate_identifiers: Returns an array strings listing the kinds
|
||||
* of <link linkend="volume-identifier">identifiers</link> which the #GVolume has.
|
||||
* @should_automount: Returns %TRUE if the #GVolume should be automatically mounted.
|
||||
* @get_activation_root: Returns the activation root for the #GVolume if it is known in advance or %NULL if
|
||||
* it is not known.
|
||||
*
|
||||
* Interface for implementing operations for mountable volumes.
|
||||
**/
|
||||
@@ -140,6 +142,8 @@ struct _GVolumeIface
|
||||
char ** (*enumerate_identifiers) (GVolume *volume);
|
||||
|
||||
gboolean (*should_automount) (GVolume *volume);
|
||||
|
||||
GFile * (*get_activation_root) (GVolume *volume);
|
||||
|
||||
};
|
||||
|
||||
@@ -174,6 +178,8 @@ char * g_volume_get_identifier (GVolume *volume,
|
||||
const char *kind);
|
||||
char ** g_volume_enumerate_identifiers (GVolume *volume);
|
||||
|
||||
GFile * g_volume_get_activation_root (GVolume *volume);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user