vala r936 - in trunk: . vapi vapi/packages/gio-2.0



Author: juergbi
Date: Thu Jan 31 10:54:06 2008
New Revision: 936
URL: http://svn.gnome.org/viewvc/vala?rev=936&view=rev

Log:
2008-01-31  Juerg Billeter  <j bitron ch>

	* vapi/packages/gio-2.0/: update to glib 2.15.4

	* vapi/gio-2.0.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gio-2.0.vapi
   trunk/vapi/packages/gio-2.0/gio-2.0.gi

Modified: trunk/vapi/gio-2.0.vapi
==============================================================================
--- trunk/vapi/gio-2.0.vapi	(original)
+++ trunk/vapi/gio-2.0.vapi	Thu Jan 31 10:54:06 2008
@@ -192,6 +192,22 @@
 	public class FileInfoClass {
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
+	public class IOExtension {
+		public weak string get_name ();
+		public int get_priority ();
+		public weak GLib.TypeClass ref_class ();
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
+	public class IOExtensionPoint {
+		public weak GLib.IOExtension get_extension_by_name (string name);
+		public weak GLib.List get_extensions ();
+		public GLib.Type get_required_type ();
+		public static weak GLib.IOExtension implement (string extension_point_name, GLib.Type type, string extension_name, int priority);
+		public static weak GLib.IOExtensionPoint lookup (string extension_point);
+		public static weak GLib.IOExtensionPoint register (string extension_point);
+		public void set_required_type (GLib.Type type);
+	}
+	[CCode (cheader_filename = "gio/gio.h")]
 	public class IOModuleClass {
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
@@ -363,18 +379,15 @@
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class FileInputStream : GLib.InputStream, GLib.Seekable {
-		public virtual bool can_seek ();
 		public virtual weak GLib.FileInfo query_info (string attributes, GLib.Cancellable cancellable) throws GLib.Error;
 		public virtual void query_info_async (string attributes, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
 		public virtual weak GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
-		public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable cancellable) throws GLib.Error;
-		public virtual int64 tell ();
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class FileMonitor : GLib.Object {
 		public virtual bool cancel ();
 		public static weak GLib.FileMonitor directory (GLib.File file, GLib.FileMonitorFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
-		public void emit_event (GLib.File file, GLib.File other_file, GLib.FileMonitorEvent event_type);
+		public void emit_event (GLib.File child, GLib.File other_file, GLib.FileMonitorEvent event_type);
 		public static weak GLib.FileMonitor file (GLib.File file, GLib.FileMonitorFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
 		public bool is_cancelled ();
 		public void set_rate_limit (int limit_msecs);
@@ -386,15 +399,10 @@
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class FileOutputStream : GLib.OutputStream, GLib.Seekable {
-		public virtual bool can_seek ();
-		public virtual bool can_truncate ();
 		public virtual weak string get_etag ();
 		public virtual weak GLib.FileInfo query_info (string attributes, GLib.Cancellable cancellable) throws GLib.Error;
 		public virtual void query_info_async (string attributes, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
 		public virtual weak GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
-		public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable cancellable) throws GLib.Error;
-		public virtual int64 tell ();
-		public bool truncate (int64 size, GLib.Cancellable cancellable) throws GLib.Error;
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class FilenameCompleter : GLib.Object {
@@ -595,7 +603,9 @@
 		public abstract bool can_poll_for_media ();
 		public abstract void eject (GLib.MountUnmountFlags flags, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
 		public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
+		public abstract weak string enumerate_identifiers ();
 		public abstract weak GLib.Icon get_icon ();
+		public abstract weak string get_identifier (string kind);
 		public abstract weak string get_name ();
 		public abstract weak GLib.List get_volumes ();
 		public abstract bool has_media ();
@@ -615,7 +625,9 @@
 		public abstract weak GLib.FileOutputStream append_to_finish (GLib.AsyncResult res) throws GLib.Error;
 		public abstract bool contains_file (GLib.File descendant);
 		public abstract bool copy (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback, pointer progress_callback_data) throws GLib.Error;
+		public abstract void copy_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback, pointer progress_callback_data, GLib.AsyncReadyCallback callback, pointer user_data);
 		public bool copy_attributes (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
+		public abstract bool copy_finish (GLib.AsyncResult res) throws GLib.Error;
 		public abstract weak GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
 		public abstract void create_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
 		public abstract weak GLib.FileOutputStream create_finish (GLib.AsyncResult res) throws GLib.Error;
@@ -628,6 +640,8 @@
 		public abstract weak GLib.FileEnumerator enumerate_children_finish (GLib.AsyncResult res) throws GLib.Error;
 		public abstract bool equal (GLib.File file2);
 		public abstract weak GLib.Mount find_enclosing_mount (GLib.Cancellable cancellable) throws GLib.Error;
+		public abstract void find_enclosing_mount_async (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
+		public abstract weak GLib.Mount find_enclosing_mount_finish (GLib.AsyncResult res) throws GLib.Error;
 		public abstract weak string get_basename ();
 		public weak GLib.File get_child (string name);
 		public abstract weak GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
@@ -656,6 +670,7 @@
 		public static GLib.File new_for_path (string path);
 		public static GLib.File new_for_uri (string uri);
 		public static weak GLib.File parse_name (string parse_name);
+		public bool query_exists (GLib.Cancellable cancellable);
 		public abstract weak GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable cancellable) throws GLib.Error;
 		public abstract weak GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable cancellable) throws GLib.Error;
 		public abstract void query_info_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
@@ -733,8 +748,10 @@
 		public abstract bool can_mount ();
 		public abstract void eject (GLib.MountUnmountFlags flags, GLib.Cancellable cancellable, GLib.AsyncReadyCallback callback, pointer user_data);
 		public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
+		public abstract weak string enumerate_identifiers ();
 		public abstract weak GLib.Drive get_drive ();
 		public abstract weak GLib.Icon get_icon ();
+		public abstract weak string get_identifier (string kind);
 		public abstract weak GLib.Mount get_mount ();
 		public abstract weak string get_name ();
 		public abstract weak string get_uuid ();
@@ -746,7 +763,7 @@
 	public static delegate void AsyncReadyCallback (GLib.Object source_object, GLib.AsyncResult res, pointer user_data);
 	public static delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes, pointer user_data);
 	public static delegate bool FileReadMoreCallback (string file_contents, int64 file_size, pointer callback_data);
-	public static delegate void IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable cancellable, pointer user_data);
+	public static delegate bool IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable cancellable, pointer user_data);
 	public static delegate pointer ReallocFunc (pointer data, ulong size);
 	public static delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable cancellable);
 	public const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
@@ -810,6 +827,14 @@
 	public const string FILE_ATTRIBUTE_UNIX_NLINK;
 	public const string FILE_ATTRIBUTE_UNIX_RDEV;
 	public const string FILE_ATTRIBUTE_UNIX_UID;
+	public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
+	public const string VFS_EXTENSION_POINT_NAME;
+	public const string VOLUME_IDENTIFIER_KIND_HAL_UDI;
+	public const string VOLUME_IDENTIFIER_KIND_LABEL;
+	public const string VOLUME_IDENTIFIER_KIND_NFS_MOUNT;
+	public const string VOLUME_IDENTIFIER_KIND_UNIX_DEVICE;
+	public const string VOLUME_IDENTIFIER_KIND_UUID;
+	public const string VOLUME_MONITOR_EXTENSION_POINT_NAME;
 	[CCode (cname = "g_content_type_can_be_executable")]
 	public static bool g_content_type_can_be_executable (string type);
 	[CCode (cname = "g_content_type_equals")]

Modified: trunk/vapi/packages/gio-2.0/gio-2.0.gi
==============================================================================
--- trunk/vapi/packages/gio-2.0/gio-2.0.gi	(original)
+++ trunk/vapi/packages/gio-2.0/gio-2.0.gi	Thu Jan 31 10:54:06 2008
@@ -130,7 +130,7 @@
 			</parameters>
 		</callback>
 		<callback name="GIOSchedulerJobFunc">
-			<return-type type="void"/>
+			<return-type type="gboolean"/>
 			<parameters>
 				<parameter name="job" type="GIOSchedulerJob*"/>
 				<parameter name="cancellable" type="GCancellable*"/>
@@ -249,6 +249,75 @@
 		</struct>
 		<struct name="GFileInfoClass">
 		</struct>
+		<struct name="GIOExtension">
+			<method name="get_name" symbol="g_io_extension_get_name">
+				<return-type type="char*"/>
+				<parameters>
+					<parameter name="extension" type="GIOExtension*"/>
+				</parameters>
+			</method>
+			<method name="get_priority" symbol="g_io_extension_get_priority">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="extension" type="GIOExtension*"/>
+				</parameters>
+			</method>
+			<method name="ref_class" symbol="g_io_extension_ref_class">
+				<return-type type="GTypeClass*"/>
+				<parameters>
+					<parameter name="extension" type="GIOExtension*"/>
+				</parameters>
+			</method>
+		</struct>
+		<struct name="GIOExtensionPoint">
+			<method name="get_extension_by_name" symbol="g_io_extension_point_get_extension_by_name">
+				<return-type type="GIOExtension*"/>
+				<parameters>
+					<parameter name="extension_point" type="GIOExtensionPoint*"/>
+					<parameter name="name" type="char*"/>
+				</parameters>
+			</method>
+			<method name="get_extensions" symbol="g_io_extension_point_get_extensions">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="extension_point" type="GIOExtensionPoint*"/>
+				</parameters>
+			</method>
+			<method name="get_required_type" symbol="g_io_extension_point_get_required_type">
+				<return-type type="GType"/>
+				<parameters>
+					<parameter name="extension_point" type="GIOExtensionPoint*"/>
+				</parameters>
+			</method>
+			<method name="implement" symbol="g_io_extension_point_implement">
+				<return-type type="GIOExtension*"/>
+				<parameters>
+					<parameter name="extension_point_name" type="char*"/>
+					<parameter name="type" type="GType"/>
+					<parameter name="extension_name" type="char*"/>
+					<parameter name="priority" type="gint"/>
+				</parameters>
+			</method>
+			<method name="lookup" symbol="g_io_extension_point_lookup">
+				<return-type type="GIOExtensionPoint*"/>
+				<parameters>
+					<parameter name="extension_point" type="char*"/>
+				</parameters>
+			</method>
+			<method name="register" symbol="g_io_extension_point_register">
+				<return-type type="GIOExtensionPoint*"/>
+				<parameters>
+					<parameter name="extension_point" type="char*"/>
+				</parameters>
+			</method>
+			<method name="set_required_type" symbol="g_io_extension_point_set_required_type">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="extension_point" type="GIOExtensionPoint*"/>
+					<parameter name="type" type="GType"/>
+				</parameters>
+			</method>
+		</struct>
 		<struct name="GIOModuleClass">
 		</struct>
 		<struct name="GIOSchedulerJob">
@@ -1415,12 +1484,6 @@
 			<implements>
 				<interface name="GSeekable"/>
 			</implements>
-			<method name="can_seek" symbol="g_file_input_stream_can_seek">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="stream" type="GFileInputStream*"/>
-				</parameters>
-			</method>
 			<method name="query_info" symbol="g_file_input_stream_query_info">
 				<return-type type="GFileInfo*"/>
 				<parameters>
@@ -1449,22 +1512,6 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
-			<method name="seek" symbol="g_file_input_stream_seek">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="stream" type="GFileInputStream*"/>
-					<parameter name="offset" type="goffset"/>
-					<parameter name="type" type="GSeekType"/>
-					<parameter name="cancellable" type="GCancellable*"/>
-					<parameter name="error" type="GError**"/>
-				</parameters>
-			</method>
-			<method name="tell" symbol="g_file_input_stream_tell">
-				<return-type type="goffset"/>
-				<parameters>
-					<parameter name="stream" type="GFileInputStream*"/>
-				</parameters>
-			</method>
 			<vfunc name="can_seek">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -1536,7 +1583,7 @@
 				<return-type type="void"/>
 				<parameters>
 					<parameter name="monitor" type="GFileMonitor*"/>
-					<parameter name="file" type="GFile*"/>
+					<parameter name="child" type="GFile*"/>
 					<parameter name="other_file" type="GFile*"/>
 					<parameter name="event_type" type="GFileMonitorEvent"/>
 				</parameters>
@@ -1585,18 +1632,6 @@
 			<implements>
 				<interface name="GSeekable"/>
 			</implements>
-			<method name="can_seek" symbol="g_file_output_stream_can_seek">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="stream" type="GFileOutputStream*"/>
-				</parameters>
-			</method>
-			<method name="can_truncate" symbol="g_file_output_stream_can_truncate">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="stream" type="GFileOutputStream*"/>
-				</parameters>
-			</method>
 			<method name="get_etag" symbol="g_file_output_stream_get_etag">
 				<return-type type="char*"/>
 				<parameters>
@@ -1631,31 +1666,6 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
-			<method name="seek" symbol="g_file_output_stream_seek">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="stream" type="GFileOutputStream*"/>
-					<parameter name="offset" type="goffset"/>
-					<parameter name="type" type="GSeekType"/>
-					<parameter name="cancellable" type="GCancellable*"/>
-					<parameter name="error" type="GError**"/>
-				</parameters>
-			</method>
-			<method name="tell" symbol="g_file_output_stream_tell">
-				<return-type type="goffset"/>
-				<parameters>
-					<parameter name="stream" type="GFileOutputStream*"/>
-				</parameters>
-			</method>
-			<method name="truncate" symbol="g_file_output_stream_truncate">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="stream" type="GFileOutputStream*"/>
-					<parameter name="size" type="goffset"/>
-					<parameter name="cancellable" type="GCancellable*"/>
-					<parameter name="error" type="GError**"/>
-				</parameters>
-			</method>
 			<vfunc name="can_seek">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -3184,12 +3194,25 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
+			<method name="enumerate_identifiers" symbol="g_drive_enumerate_identifiers">
+				<return-type type="char**"/>
+				<parameters>
+					<parameter name="drive" type="GDrive*"/>
+				</parameters>
+			</method>
 			<method name="get_icon" symbol="g_drive_get_icon">
 				<return-type type="GIcon*"/>
 				<parameters>
 					<parameter name="drive" type="GDrive*"/>
 				</parameters>
 			</method>
+			<method name="get_identifier" symbol="g_drive_get_identifier">
+				<return-type type="char*"/>
+				<parameters>
+					<parameter name="drive" type="GDrive*"/>
+					<parameter name="kind" type="char*"/>
+				</parameters>
+			</method>
 			<method name="get_name" symbol="g_drive_get_name">
 				<return-type type="char*"/>
 				<parameters>
@@ -3291,12 +3314,25 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</vfunc>
+			<vfunc name="enumerate_identifiers">
+				<return-type type="char**"/>
+				<parameters>
+					<parameter name="drive" type="GDrive*"/>
+				</parameters>
+			</vfunc>
 			<vfunc name="get_icon">
 				<return-type type="GIcon*"/>
 				<parameters>
 					<parameter name="drive" type="GDrive*"/>
 				</parameters>
 			</vfunc>
+			<vfunc name="get_identifier">
+				<return-type type="char*"/>
+				<parameters>
+					<parameter name="drive" type="GDrive*"/>
+					<parameter name="kind" type="char*"/>
+				</parameters>
+			</vfunc>
 			<vfunc name="get_name">
 				<return-type type="char*"/>
 				<parameters>
@@ -3402,6 +3438,20 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
+			<method name="copy_async" symbol="g_file_copy_async">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="source" type="GFile*"/>
+					<parameter name="destination" type="GFile*"/>
+					<parameter name="flags" type="GFileCopyFlags"/>
+					<parameter name="io_priority" type="int"/>
+					<parameter name="cancellable" type="GCancellable*"/>
+					<parameter name="progress_callback" type="GFileProgressCallback"/>
+					<parameter name="progress_callback_data" type="gpointer"/>
+					<parameter name="callback" type="GAsyncReadyCallback"/>
+					<parameter name="user_data" type="gpointer"/>
+				</parameters>
+			</method>
 			<method name="copy_attributes" symbol="g_file_copy_attributes">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -3412,6 +3462,14 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
+			<method name="copy_finish" symbol="g_file_copy_finish">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="file" type="GFile*"/>
+					<parameter name="res" type="GAsyncResult*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</method>
 			<method name="create" symbol="g_file_create">
 				<return-type type="GFileOutputStream*"/>
 				<parameters>
@@ -3517,6 +3575,24 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
+			<method name="find_enclosing_mount_async" symbol="g_file_find_enclosing_mount_async">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="file" type="GFile*"/>
+					<parameter name="io_priority" type="int"/>
+					<parameter name="cancellable" type="GCancellable*"/>
+					<parameter name="callback" type="GAsyncReadyCallback"/>
+					<parameter name="user_data" type="gpointer"/>
+				</parameters>
+			</method>
+			<method name="find_enclosing_mount_finish" symbol="g_file_find_enclosing_mount_finish">
+				<return-type type="GMount*"/>
+				<parameters>
+					<parameter name="file" type="GFile*"/>
+					<parameter name="res" type="GAsyncResult*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</method>
 			<method name="get_basename" symbol="g_file_get_basename">
 				<return-type type="char*"/>
 				<parameters>
@@ -3735,6 +3811,13 @@
 					<parameter name="parse_name" type="char*"/>
 				</parameters>
 			</method>
+			<method name="query_exists" symbol="g_file_query_exists">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="file" type="GFile*"/>
+					<parameter name="cancellable" type="GCancellable*"/>
+				</parameters>
+			</method>
 			<method name="query_filesystem_info" symbol="g_file_query_filesystem_info">
 				<return-type type="GFileInfo*"/>
 				<parameters>
@@ -4102,6 +4185,28 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</vfunc>
+			<vfunc name="copy_async">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="source" type="GFile*"/>
+					<parameter name="destination" type="GFile*"/>
+					<parameter name="flags" type="GFileCopyFlags"/>
+					<parameter name="io_priority" type="int"/>
+					<parameter name="cancellable" type="GCancellable*"/>
+					<parameter name="progress_callback" type="GFileProgressCallback"/>
+					<parameter name="progress_callback_data" type="gpointer"/>
+					<parameter name="callback" type="GAsyncReadyCallback"/>
+					<parameter name="user_data" type="gpointer"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="copy_finish">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="file" type="GFile*"/>
+					<parameter name="res" type="GAsyncResult*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</vfunc>
 			<vfunc name="create">
 				<return-type type="GFileOutputStream*"/>
 				<parameters>
@@ -5025,6 +5130,12 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</method>
+			<method name="enumerate_identifiers" symbol="g_volume_enumerate_identifiers">
+				<return-type type="char**"/>
+				<parameters>
+					<parameter name="volume" type="GVolume*"/>
+				</parameters>
+			</method>
 			<method name="get_drive" symbol="g_volume_get_drive">
 				<return-type type="GDrive*"/>
 				<parameters>
@@ -5037,6 +5148,13 @@
 					<parameter name="volume" type="GVolume*"/>
 				</parameters>
 			</method>
+			<method name="get_identifier" symbol="g_volume_get_identifier">
+				<return-type type="char*"/>
+				<parameters>
+					<parameter name="volume" type="GVolume*"/>
+					<parameter name="kind" type="char*"/>
+				</parameters>
+			</method>
 			<method name="get_mount" symbol="g_volume_get_mount">
 				<return-type type="GMount*"/>
 				<parameters>
@@ -5115,6 +5233,12 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</vfunc>
+			<vfunc name="enumerate_identifiers">
+				<return-type type="char**"/>
+				<parameters>
+					<parameter name="volume" type="GVolume*"/>
+				</parameters>
+			</vfunc>
 			<vfunc name="get_drive">
 				<return-type type="GDrive*"/>
 				<parameters>
@@ -5127,6 +5251,13 @@
 					<parameter name="volume" type="GVolume*"/>
 				</parameters>
 			</vfunc>
+			<vfunc name="get_identifier">
+				<return-type type="char*"/>
+				<parameters>
+					<parameter name="volume" type="GVolume*"/>
+					<parameter name="kind" type="char*"/>
+				</parameters>
+			</vfunc>
 			<vfunc name="get_mount">
 				<return-type type="GMount*"/>
 				<parameters>
@@ -5225,5 +5356,13 @@
 		<constant name="G_FILE_ATTRIBUTE_UNIX_NLINK" type="char*" value="unix::nlink"/>
 		<constant name="G_FILE_ATTRIBUTE_UNIX_RDEV" type="char*" value="unix::rdev"/>
 		<constant name="G_FILE_ATTRIBUTE_UNIX_UID" type="char*" value="unix::uid"/>
+		<constant name="G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME" type="char*" value="gio-native-volume-monitor"/>
+		<constant name="G_VFS_EXTENSION_POINT_NAME" type="char*" value="gio-vfs"/>
+		<constant name="G_VOLUME_IDENTIFIER_KIND_HAL_UDI" type="char*" value="hal-udi"/>
+		<constant name="G_VOLUME_IDENTIFIER_KIND_LABEL" type="char*" value="label"/>
+		<constant name="G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT" type="char*" value="nfs-mount"/>
+		<constant name="G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE" type="char*" value="unix-device"/>
+		<constant name="G_VOLUME_IDENTIFIER_KIND_UUID" type="char*" value="uuid"/>
+		<constant name="G_VOLUME_MONITOR_EXTENSION_POINT_NAME" type="char*" value="gio-volume-monitor"/>
 	</namespace>
 </api>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]