~adam-stokes/ubuntu/quantal/gnome-vfs/lp977940-multiarch

« back to all changes in this revision

Viewing changes to doc/html/gnome-vfs-20-gnome-vfs-drive.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-08-05 10:31:15 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080805103115-5vkex0yk6qq619x5
Tags: 1:2.23.0-0ubuntu1
* New upstream version:
  - Sync xdgmime with GIO
* debian/patches/90_from_svn_no_range_for_youtube.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GnomeVFSDrive</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
 
<link rel="start" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
8
8
<link rel="up" href="volumes.html" title="Volumes and Drives Handling">
9
9
<link rel="prev" href="gnome-vfs-20-gnome-vfs-volume.html" title="GnomeVFSVolume">
10
10
<link rel="next" href="gnome-vfs-20-gnome-vfs-volume-monitor.html" title="GnomeVFSVolumeMonitor">
11
 
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="about.html" title="Introduction to GnomeVFS">
14
14
<link rel="chapter" href="data-types.html" title="Basic Data Types">
30
30
<th width="100%" align="center">GnomeVFS - Filesystem Abstraction library</th>
31
31
<td><a accesskey="n" href="gnome-vfs-20-gnome-vfs-volume-monitor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
32
32
</tr>
33
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2659862" class="shortcut">Top</a>
34
 
                  &#160;|&#160;
35
 
                  <a href="#id2660548" class="shortcut">Description</a>
36
 
                  &#160;|&#160;
37
 
                  <a href="#id2660474" class="shortcut">Object Hierarchy</a>
38
 
                  &#160;|&#160;
39
 
                  <a href="#id2660498" class="shortcut">Signals</a></nobr></td></tr>
 
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#gnome-vfs-20-gnome-vfs-drive.synopsis" class="shortcut">Top</a>
 
34
                   | 
 
35
                  <a href="#gnome-vfs-20-gnome-vfs-drive.description" class="shortcut">Description</a>
 
36
                   | 
 
37
                  <a href="#gnome-vfs-20-gnome-vfs-drive.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
38
                   | 
 
39
                  <a href="#gnome-vfs-20-gnome-vfs-drive.signals" class="shortcut">Signals</a></nobr></td></tr>
40
40
</table>
41
41
<div class="refentry" lang="en">
42
42
<a name="gnome-vfs-20-gnome-vfs-drive"></a><div class="titlepage"></div>
43
43
<div class="refnamediv"><table width="100%"><tr>
44
44
<td valign="top">
45
 
<h2>
46
 
<a name="id2659862"></a><span class="refentrytitle">GnomeVFSDrive</span>
47
 
</h2>
48
 
<p>GnomeVFSDrive &#8212; Container for GnomeVFSVolume (floppy drive, CD reader, ...)</p>
 
45
<h2><span class="refentrytitle"><a name="gnome-vfs-20-gnome-vfs-drive.top_of_page"></a>GnomeVFSDrive</span></h2>
 
46
<p>GnomeVFSDrive — Container for GnomeVFSVolume (floppy drive, CD reader, ...)</p>
49
47
</td>
50
48
<td valign="top" align="right"></td>
51
49
</tr></table></div>
52
50
<div class="refsynopsisdiv">
53
 
<h2>Synopsis</h2>
 
51
<a name="gnome-vfs-20-gnome-vfs-drive.synopsis"></a><h2>Synopsis</h2>
54
52
<a name="GnomeVFSDrive"></a><pre class="synopsis">
55
 
 
56
 
 
57
 
 
58
 
enum                <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType">GnomeVFSDeviceType</a>;
59
 
                    <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-struct">GnomeVFSDrive</a>;
60
 
                    <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDriveClass">GnomeVFSDriveClass</a>;
61
 
#define             <a href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-IS-VFS-DRIVE:CAPS">GNOME_IS_VFS_DRIVE</a>                  (o)
62
 
#define             <a href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-IS-VFS-DRIVE-CLASS:CAPS">GNOME_IS_VFS_DRIVE_CLASS</a>            (k)
63
 
#define             <a href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-VFS-TYPE-DRIVE:CAPS">GNOME_VFS_TYPE_DRIVE</a>
64
 
#define             <a href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-VFS-DRIVE:CAPS">GNOME_VFS_DRIVE</a>                     (o)
65
 
#define             <a href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-VFS-DRIVE-CLASS:CAPS">GNOME_VFS_DRIVE_CLASS</a>               (k)
66
 
gint                <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-compare">gnome_vfs_drive_compare</a>             (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *a,
67
 
                                                         <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *b);
68
 
void                <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-eject">gnome_vfs_drive_eject</a>               (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
69
 
                                                         <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</a> callback,
70
 
                                                         gpointer user_data);
71
 
char*               <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-activation-uri">gnome_vfs_drive_get_activation_uri</a>  (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
72
 
char*               <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-device-path">gnome_vfs_drive_get_device_path</a>     (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
73
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType">GnomeVFSDeviceType</a>  <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-device-type">gnome_vfs_drive_get_device_type</a>     (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
74
 
char*               <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-display-name">gnome_vfs_drive_get_display_name</a>    (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
75
 
char*               <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-hal-udi">gnome_vfs_drive_get_hal_udi</a>         (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
76
 
char*               <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-icon">gnome_vfs_drive_get_icon</a>            (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
77
 
gulong              <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-id">gnome_vfs_drive_get_id</a>              (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
78
 
<a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a>*     <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volume">gnome_vfs_drive_get_mounted_volume</a>  (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
79
 
GList*              <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes">gnome_vfs_drive_get_mounted_volumes</a> (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
80
 
void                <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-volume-list-free">gnome_vfs_drive_volume_list_free</a>    (GList *volumes);
81
 
GType               <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-type">gnome_vfs_drive_get_type</a>            (void);
82
 
gboolean            <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-is-connected">gnome_vfs_drive_is_connected</a>        (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
83
 
gboolean            <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-is-mounted">gnome_vfs_drive_is_mounted</a>          (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
84
 
gboolean            <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-is-user-visible">gnome_vfs_drive_is_user_visible</a>     (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
85
 
void                <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-mount">gnome_vfs_drive_mount</a>               (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
86
 
                                                         <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</a> callback,
87
 
                                                         gpointer user_data);
88
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>*      <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-ref">gnome_vfs_drive_ref</a>                 (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
89
 
void                <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unmount">gnome_vfs_drive_unmount</a>             (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
90
 
                                                         <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</a> callback,
91
 
                                                         gpointer user_data);
92
 
void                <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unref">gnome_vfs_drive_unref</a>               (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
53
enum                <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType">GnomeVFSDeviceType</a>;
 
54
                    <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-struct" title="GnomeVFSDrive">GnomeVFSDrive</a>;
 
55
                    <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDriveClass" title="GnomeVFSDriveClass">GnomeVFSDriveClass</a>;
 
56
#define             <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-IS-VFS-DRIVE:CAPS" title="GNOME_IS_VFS_DRIVE()">GNOME_IS_VFS_DRIVE</a>                  (o)
 
57
#define             <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-IS-VFS-DRIVE-CLASS:CAPS" title="GNOME_IS_VFS_DRIVE_CLASS()">GNOME_IS_VFS_DRIVE_CLASS</a>            (k)
 
58
#define             <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-VFS-TYPE-DRIVE:CAPS" title="GNOME_VFS_TYPE_DRIVE">GNOME_VFS_TYPE_DRIVE</a>
 
59
#define             <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-VFS-DRIVE:CAPS" title="GNOME_VFS_DRIVE()">GNOME_VFS_DRIVE</a>                     (o)
 
60
#define             <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GNOME-VFS-DRIVE-CLASS:CAPS" title="GNOME_VFS_DRIVE_CLASS()">GNOME_VFS_DRIVE_CLASS</a>               (k)
 
61
<a
 
62
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
63
>gint</a>                <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-compare" title="gnome_vfs_drive_compare ()">gnome_vfs_drive_compare</a>             (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *a,
 
64
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *b);
 
65
void                <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-eject" title="gnome_vfs_drive_eject ()">gnome_vfs_drive_eject</a>               (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
 
66
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()">GnomeVFSVolumeOpCallback</a> callback,
 
67
                                                         <a
 
68
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
69
>gpointer</a> user_data);
 
70
char*               <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-activation-uri" title="gnome_vfs_drive_get_activation_uri ()">gnome_vfs_drive_get_activation_uri</a>  (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
71
char*               <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-device-path" title="gnome_vfs_drive_get_device_path ()">gnome_vfs_drive_get_device_path</a>     (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
72
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType">GnomeVFSDeviceType</a>  <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-device-type" title="gnome_vfs_drive_get_device_type ()">gnome_vfs_drive_get_device_type</a>     (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
73
char*               <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-display-name" title="gnome_vfs_drive_get_display_name ()">gnome_vfs_drive_get_display_name</a>    (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
74
char*               <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-hal-udi" title="gnome_vfs_drive_get_hal_udi ()">gnome_vfs_drive_get_hal_udi</a>         (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
75
char*               <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-icon" title="gnome_vfs_drive_get_icon ()">gnome_vfs_drive_get_icon</a>            (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
76
<a
 
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
78
>gulong</a>              <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-id" title="gnome_vfs_drive_get_id ()">gnome_vfs_drive_get_id</a>              (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
79
<a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a>*     <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volume" title="gnome_vfs_drive_get_mounted_volume ()">gnome_vfs_drive_get_mounted_volume</a>  (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
80
<a
 
81
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
82
>GList</a>*              <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()">gnome_vfs_drive_get_mounted_volumes</a> (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
83
void                <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-volume-list-free" title="gnome_vfs_drive_volume_list_free ()">gnome_vfs_drive_volume_list_free</a>    (<a
 
84
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
85
>GList</a> *volumes);
 
86
<a
 
87
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
88
>GType</a>               <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-type" title="gnome_vfs_drive_get_type ()">gnome_vfs_drive_get_type</a>            (void);
 
89
<a
 
90
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
91
>gboolean</a>            <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-is-connected" title="gnome_vfs_drive_is_connected ()">gnome_vfs_drive_is_connected</a>        (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
92
<a
 
93
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
94
>gboolean</a>            <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-is-mounted" title="gnome_vfs_drive_is_mounted ()">gnome_vfs_drive_is_mounted</a>          (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
95
<a
 
96
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
97
>gboolean</a>            <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-is-user-visible" title="gnome_vfs_drive_is_user_visible ()">gnome_vfs_drive_is_user_visible</a>     (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
98
void                <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-mount" title="gnome_vfs_drive_mount ()">gnome_vfs_drive_mount</a>               (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
 
99
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()">GnomeVFSVolumeOpCallback</a> callback,
 
100
                                                         <a
 
101
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
102
>gpointer</a> user_data);
 
103
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>*      <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-ref" title="gnome_vfs_drive_ref ()">gnome_vfs_drive_ref</a>                 (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
 
104
void                <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unmount" title="gnome_vfs_drive_unmount ()">gnome_vfs_drive_unmount</a>             (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
 
105
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()">GnomeVFSVolumeOpCallback</a> callback,
 
106
                                                         <a
 
107
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
108
>gpointer</a> user_data);
 
109
void                <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unref" title="gnome_vfs_drive_unref ()">gnome_vfs_drive_unref</a>               (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);
93
110
</pre>
94
111
</div>
95
112
<div class="refsect1" lang="en">
96
 
<a name="id2660474"></a><h2>Object Hierarchy</h2>
 
113
<a name="gnome-vfs-20-gnome-vfs-drive.object-hierarchy"></a><h2>Object Hierarchy</h2>
97
114
<pre class="synopsis">
98
 
 
99
 
  GObject
 
115
  <a
 
116
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
117
>GObject</a>
100
118
   +----GnomeVFSDrive
101
119
</pre>
102
120
</div>
103
121
<div class="refsect1" lang="en">
104
 
<a name="id2660498"></a><h2>Signals</h2>
 
122
<a name="gnome-vfs-20-gnome-vfs-drive.signals"></a><h2>Signals</h2>
105
123
<pre class="synopsis">
106
 
 
107
 
  "<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-volume-mounted">volume-mounted</a>"                                 : Run First
108
 
  "<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-volume-pre-unmount">volume-pre-unmount</a>"                             : Run First
109
 
  "<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-volume-unmounted">volume-unmounted</a>"                               : Run First
 
124
  "<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-volume-mounted" title='The "volume-mounted" signal'>volume-mounted</a>"                                 : Run First
 
125
  "<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-volume-pre-unmount" title='The "volume-pre-unmount" signal'>volume-pre-unmount</a>"                             : Run First
 
126
  "<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive-volume-unmounted" title='The "volume-unmounted" signal'>volume-unmounted</a>"                               : Run First
110
127
</pre>
111
128
</div>
112
129
<div class="refsect1" lang="en">
113
 
<a name="id2660548"></a><h2>Description</h2>
 
130
<a name="gnome-vfs-20-gnome-vfs-drive.description"></a><h2>Description</h2>
114
131
<p>
115
132
 
116
133
</p>
117
134
</div>
118
135
<div class="refsect1" lang="en">
119
 
<a name="id2660563"></a><h2>Details</h2>
 
136
<a name="gnome-vfs-20-gnome-vfs-drive.details"></a><h2>Details</h2>
120
137
<div class="refsect2" lang="en">
121
 
<a name="id2660573"></a><h3>
122
 
<a name="GnomeVFSDeviceType"></a>enum GnomeVFSDeviceType</h3>
123
 
<a class="indexterm" name="id2660586"></a><pre class="programlisting">typedef enum {
 
138
<a name="GnomeVFSDeviceType"></a><h3>enum GnomeVFSDeviceType</h3>
 
139
<pre class="programlisting">typedef enum {
124
140
        GNOME_VFS_DEVICE_TYPE_UNKNOWN,
125
141
        GNOME_VFS_DEVICE_TYPE_AUDIO_CD,
126
142
        GNOME_VFS_DEVICE_TYPE_VIDEO_DVD,
142
158
} GnomeVFSDeviceType;
143
159
</pre>
144
160
<p>
145
 
Identifies the device type of a <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</p>
 
161
Identifies the device type of a <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.</p>
146
162
<p>
147
163
 
148
164
</p>
150
166
<col align="left" valign="top">
151
167
<tbody>
152
168
<tr>
153
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-UNKNOWN:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_UNKNOWN</code></span></td>
154
 
<td> the type of this <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is not known.
 
169
<td><p><a name="GNOME-VFS-DEVICE-TYPE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_UNKNOWN</code></span></p></td>
 
170
<td> the type of this <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is not known.
155
171
</td>
156
172
</tr>
157
173
<tr>
158
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-AUDIO-CD:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_AUDIO_CD</code></span></td>
159
 
<td> only used for <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
 
174
<td><p><a name="GNOME-VFS-DEVICE-TYPE-AUDIO-CD:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_AUDIO_CD</code></span></p></td>
 
175
<td> only used for <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
160
176
volume is an audio CD.
161
177
</td>
162
178
</tr>
163
179
<tr>
164
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-VIDEO-DVD:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_VIDEO_DVD</code></span></td>
165
 
<td> only used for <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
 
180
<td><p><a name="GNOME-VFS-DEVICE-TYPE-VIDEO-DVD:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_VIDEO_DVD</code></span></p></td>
 
181
<td> only used for <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
166
182
volume is a video DVD.
167
183
</td>
168
184
</tr>
169
185
<tr>
170
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-HARDDRIVE:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_HARDDRIVE</code></span></td>
 
186
<td><p><a name="GNOME-VFS-DEVICE-TYPE-HARDDRIVE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_HARDDRIVE</code></span></p></td>
171
187
<td> this is a mount point refering to a harddisk partition that
172
188
neither has a Microsoft file system (FAT, VFAT, NTFS) nor an Apple file system (HFS, HFS+).
173
189
</td>
174
190
</tr>
175
191
<tr>
176
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-CDROM:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_CDROM</code></span></td>
 
192
<td><p><a name="GNOME-VFS-DEVICE-TYPE-CDROM:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_CDROM</code></span></p></td>
177
193
<td> this may either be a mount point or a HAL drive/volume. Either way,
178
194
it refers to a CD-ROM device respectively volume.
179
195
</td>
180
196
</tr>
181
197
<tr>
182
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-FLOPPY:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_FLOPPY</code></span></td>
183
 
<td> the volume or drive referenced by this <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
184
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a floppy disc respectively a floppy drive.
185
 
</td>
186
 
</tr>
187
 
<tr>
188
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-ZIP:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_ZIP</code></span></td>
189
 
<td> the volume or drive referenced by this <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
190
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a ZIP disc respectively a ZIP drive.
191
 
</td>
192
 
</tr>
193
 
<tr>
194
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-JAZ:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_JAZ</code></span></td>
195
 
<td> the volume or drive referenced by this <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
196
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a JAZ disc respectively a JAZ drive.
197
 
</td>
198
 
</tr>
199
 
<tr>
200
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-NFS:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_NFS</code></span></td>
 
198
<td><p><a name="GNOME-VFS-DEVICE-TYPE-FLOPPY:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_FLOPPY</code></span></p></td>
 
199
<td> the volume or drive referenced by this <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
 
200
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a floppy disc respectively a floppy drive.
 
201
</td>
 
202
</tr>
 
203
<tr>
 
204
<td><p><a name="GNOME-VFS-DEVICE-TYPE-ZIP:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_ZIP</code></span></p></td>
 
205
<td> the volume or drive referenced by this <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
 
206
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a ZIP disc respectively a ZIP drive.
 
207
</td>
 
208
</tr>
 
209
<tr>
 
210
<td><p><a name="GNOME-VFS-DEVICE-TYPE-JAZ:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_JAZ</code></span></p></td>
 
211
<td> the volume or drive referenced by this <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> or
 
212
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> is a JAZ disc respectively a JAZ drive.
 
213
</td>
 
214
</tr>
 
215
<tr>
 
216
<td><p><a name="GNOME-VFS-DEVICE-TYPE-NFS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_NFS</code></span></p></td>
201
217
<td> this is a mount point having an NFS file system.
202
218
</td>
203
219
</tr>
204
220
<tr>
205
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-AUTOFS:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_AUTOFS</code></span></td>
 
221
<td><p><a name="GNOME-VFS-DEVICE-TYPE-AUTOFS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_AUTOFS</code></span></p></td>
206
222
<td> this is a mount point having an AutoFS file system.
207
223
</td>
208
224
</tr>
209
225
<tr>
210
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-CAMERA:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_CAMERA</code></span></td>
211
 
<td> only used for <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this volume is a camera.
212
 
</td>
213
 
</tr>
214
 
<tr>
215
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-MEMORY-STICK:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_MEMORY_STICK</code></span></td>
216
 
<td> only used for <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this volume is a memory stick.
217
 
</td>
218
 
</tr>
219
 
<tr>
220
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-SMB:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_SMB</code></span></td>
 
226
<td><p><a name="GNOME-VFS-DEVICE-TYPE-CAMERA:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_CAMERA</code></span></p></td>
 
227
<td> only used for <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this volume is a camera.
 
228
</td>
 
229
</tr>
 
230
<tr>
 
231
<td><p><a name="GNOME-VFS-DEVICE-TYPE-MEMORY-STICK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_MEMORY_STICK</code></span></p></td>
 
232
<td> only used for <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this volume is a memory stick.
 
233
</td>
 
234
</tr>
 
235
<tr>
 
236
<td><p><a name="GNOME-VFS-DEVICE-TYPE-SMB:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_SMB</code></span></p></td>
221
237
<td> this is a mount point having a Samba file system.
222
238
</td>
223
239
</tr>
224
240
<tr>
225
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-APPLE:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_APPLE</code></span></td>
 
241
<td><p><a name="GNOME-VFS-DEVICE-TYPE-APPLE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_APPLE</code></span></p></td>
226
242
<td> this is a mount point refering to a harddisk partition, that has an
227
243
Apple file system (HFS, HFS+).
228
244
</td>
229
245
</tr>
230
246
<tr>
231
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-MUSIC-PLAYER:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER</code></span></td>
232
 
<td> only used for <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
 
247
<td><p><a name="GNOME-VFS-DEVICE-TYPE-MUSIC-PLAYER:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER</code></span></p></td>
 
248
<td> only used for <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects. Denotes that this
233
249
volume is a music player.
234
250
</td>
235
251
</tr>
236
252
<tr>
237
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-WINDOWS:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_WINDOWS</code></span></td>
 
253
<td><p><a name="GNOME-VFS-DEVICE-TYPE-WINDOWS:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_WINDOWS</code></span></p></td>
238
254
<td> this is a mount point refering to a harddisk partition, that has a
239
255
Microsoft file system (FAT, VFAT, NTFS).
240
256
</td>
241
257
</tr>
242
258
<tr>
243
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-LOOPBACK:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_LOOPBACK</code></span></td>
 
259
<td><p><a name="GNOME-VFS-DEVICE-TYPE-LOOPBACK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_LOOPBACK</code></span></p></td>
244
260
<td> this is a mount point refering to a loopback device.
245
261
</td>
246
262
</tr>
247
263
<tr>
248
 
<td><span class="term"><a name="GNOME-VFS-DEVICE-TYPE-NETWORK:CAPS"></a><code class="literal">GNOME_VFS_DEVICE_TYPE_NETWORK</code></span></td>
249
 
<td> only used for <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, denoting that this volume
 
264
<td><p><a name="GNOME-VFS-DEVICE-TYPE-NETWORK:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_DEVICE_TYPE_NETWORK</code></span></p></td>
 
265
<td> only used for <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, denoting that this volume
250
266
refers to a network mount that is not managed by the kernel VFS but exclusively known to GnomeVFS.
251
267
</td>
252
268
</tr>
255
271
</div>
256
272
<hr>
257
273
<div class="refsect2" lang="en">
258
 
<a name="id2661189"></a><h3>
259
 
<a name="GnomeVFSDrive-struct"></a>GnomeVFSDrive</h3>
260
 
<a class="indexterm" name="id2661202"></a><pre class="programlisting">typedef struct _GnomeVFSDrive GnomeVFSDrive;</pre>
 
274
<a name="GnomeVFSDrive-struct"></a><h3>GnomeVFSDrive</h3>
 
275
<pre class="programlisting">typedef struct _GnomeVFSDrive GnomeVFSDrive;</pre>
261
276
<p>
262
277
 
263
278
</p>
264
279
</div>
265
280
<hr>
266
281
<div class="refsect2" lang="en">
267
 
<a name="id2661218"></a><h3>
268
 
<a name="GnomeVFSDriveClass"></a>GnomeVFSDriveClass</h3>
269
 
<a class="indexterm" name="id2661229"></a><pre class="programlisting">typedef struct {
 
282
<a name="GnomeVFSDriveClass"></a><h3>GnomeVFSDriveClass</h3>
 
283
<pre class="programlisting">typedef struct {
270
284
        GObjectClass parent_class;
271
285
 
272
286
        void (* volume_mounted)         (GnomeVFSDrive *drive,
283
297
</div>
284
298
<hr>
285
299
<div class="refsect2" lang="en">
286
 
<a name="id2661250"></a><h3>
287
 
<a name="GNOME-IS-VFS-DRIVE:CAPS"></a>GNOME_IS_VFS_DRIVE()</h3>
288
 
<a class="indexterm" name="id2661263"></a><pre class="programlisting">#define GNOME_IS_VFS_DRIVE(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_VFS_TYPE_DRIVE))
289
 
</pre>
290
 
<p>
291
 
 
292
 
</p>
293
 
<div class="variablelist"><table border="0">
294
 
<col align="left" valign="top">
295
 
<tbody><tr>
296
 
<td><span class="term"><em class="parameter"><code>o</code></em>&#160;:</span></td>
297
 
<td>
298
 
 
299
 
 
300
 
</td>
301
 
</tr></tbody>
302
 
</table></div>
303
 
</div>
304
 
<hr>
305
 
<div class="refsect2" lang="en">
306
 
<a name="id2661297"></a><h3>
307
 
<a name="GNOME-IS-VFS-DRIVE-CLASS:CAPS"></a>GNOME_IS_VFS_DRIVE_CLASS()</h3>
308
 
<a class="indexterm" name="id2661311"></a><pre class="programlisting">#define GNOME_IS_VFS_DRIVE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNOME_VFS_TYPE_DRIVE))
309
 
</pre>
310
 
<p>
311
 
 
312
 
</p>
313
 
<div class="variablelist"><table border="0">
314
 
<col align="left" valign="top">
315
 
<tbody><tr>
316
 
<td><span class="term"><em class="parameter"><code>k</code></em>&#160;:</span></td>
317
 
<td>
318
 
 
319
 
 
320
 
</td>
321
 
</tr></tbody>
322
 
</table></div>
323
 
</div>
324
 
<hr>
325
 
<div class="refsect2" lang="en">
326
 
<a name="id2661345"></a><h3>
327
 
<a name="GNOME-VFS-TYPE-DRIVE:CAPS"></a>GNOME_VFS_TYPE_DRIVE</h3>
328
 
<a class="indexterm" name="id2661358"></a><pre class="programlisting">#define GNOME_VFS_TYPE_DRIVE        (gnome_vfs_drive_get_type ())
329
 
</pre>
330
 
<p>
331
 
 
332
 
</p>
333
 
</div>
334
 
<hr>
335
 
<div class="refsect2" lang="en">
336
 
<a name="id2661374"></a><h3>
337
 
<a name="GNOME-VFS-DRIVE:CAPS"></a>GNOME_VFS_DRIVE()</h3>
338
 
<a class="indexterm" name="id2661388"></a><pre class="programlisting">#define GNOME_VFS_DRIVE(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_VFS_TYPE_DRIVE, GnomeVFSDrive))
339
 
</pre>
340
 
<p>
341
 
 
342
 
</p>
343
 
<div class="variablelist"><table border="0">
344
 
<col align="left" valign="top">
345
 
<tbody><tr>
346
 
<td><span class="term"><em class="parameter"><code>o</code></em>&#160;:</span></td>
347
 
<td>
348
 
 
349
 
 
350
 
</td>
351
 
</tr></tbody>
352
 
</table></div>
353
 
</div>
354
 
<hr>
355
 
<div class="refsect2" lang="en">
356
 
<a name="id2661422"></a><h3>
357
 
<a name="GNOME-VFS-DRIVE-CLASS:CAPS"></a>GNOME_VFS_DRIVE_CLASS()</h3>
358
 
<a class="indexterm" name="id2661435"></a><pre class="programlisting">#define GNOME_VFS_DRIVE_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), GNOME_VFS_TYPE_DRIVE, GnomeVFSDriveClass))
359
 
</pre>
360
 
<p>
361
 
 
362
 
</p>
363
 
<div class="variablelist"><table border="0">
364
 
<col align="left" valign="top">
365
 
<tbody><tr>
366
 
<td><span class="term"><em class="parameter"><code>k</code></em>&#160;:</span></td>
367
 
<td>
368
 
 
369
 
 
370
 
</td>
371
 
</tr></tbody>
372
 
</table></div>
373
 
</div>
374
 
<hr>
375
 
<div class="refsect2" lang="en">
376
 
<a name="id2661470"></a><h3>
377
 
<a name="gnome-vfs-drive-compare"></a>gnome_vfs_drive_compare ()</h3>
378
 
<a class="indexterm" name="id2661485"></a><pre class="programlisting">gint                gnome_vfs_drive_compare             (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *a,
379
 
                                                         <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *b);</pre>
380
 
<p>
381
 
Compares two <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> objects <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>. Two
382
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> objects referring to different drives
 
300
<a name="GNOME-IS-VFS-DRIVE:CAPS"></a><h3>GNOME_IS_VFS_DRIVE()</h3>
 
301
<pre class="programlisting">#define GNOME_IS_VFS_DRIVE(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_VFS_TYPE_DRIVE))
 
302
</pre>
 
303
<p>
 
304
 
 
305
</p>
 
306
<div class="variablelist"><table border="0">
 
307
<col align="left" valign="top">
 
308
<tbody><tr>
 
309
<td><p><span class="term"><em class="parameter"><code>o</code></em> :</span></p></td>
 
310
<td>
 
311
 
 
312
 
 
313
</td>
 
314
</tr></tbody>
 
315
</table></div>
 
316
</div>
 
317
<hr>
 
318
<div class="refsect2" lang="en">
 
319
<a name="GNOME-IS-VFS-DRIVE-CLASS:CAPS"></a><h3>GNOME_IS_VFS_DRIVE_CLASS()</h3>
 
320
<pre class="programlisting">#define GNOME_IS_VFS_DRIVE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNOME_VFS_TYPE_DRIVE))
 
321
</pre>
 
322
<p>
 
323
 
 
324
</p>
 
325
<div class="variablelist"><table border="0">
 
326
<col align="left" valign="top">
 
327
<tbody><tr>
 
328
<td><p><span class="term"><em class="parameter"><code>k</code></em> :</span></p></td>
 
329
<td>
 
330
 
 
331
 
 
332
</td>
 
333
</tr></tbody>
 
334
</table></div>
 
335
</div>
 
336
<hr>
 
337
<div class="refsect2" lang="en">
 
338
<a name="GNOME-VFS-TYPE-DRIVE:CAPS"></a><h3>GNOME_VFS_TYPE_DRIVE</h3>
 
339
<pre class="programlisting">#define GNOME_VFS_TYPE_DRIVE        (gnome_vfs_drive_get_type ())
 
340
</pre>
 
341
<p>
 
342
 
 
343
</p>
 
344
</div>
 
345
<hr>
 
346
<div class="refsect2" lang="en">
 
347
<a name="GNOME-VFS-DRIVE:CAPS"></a><h3>GNOME_VFS_DRIVE()</h3>
 
348
<pre class="programlisting">#define GNOME_VFS_DRIVE(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_VFS_TYPE_DRIVE, GnomeVFSDrive))
 
349
</pre>
 
350
<p>
 
351
 
 
352
</p>
 
353
<div class="variablelist"><table border="0">
 
354
<col align="left" valign="top">
 
355
<tbody><tr>
 
356
<td><p><span class="term"><em class="parameter"><code>o</code></em> :</span></p></td>
 
357
<td>
 
358
 
 
359
 
 
360
</td>
 
361
</tr></tbody>
 
362
</table></div>
 
363
</div>
 
364
<hr>
 
365
<div class="refsect2" lang="en">
 
366
<a name="GNOME-VFS-DRIVE-CLASS:CAPS"></a><h3>GNOME_VFS_DRIVE_CLASS()</h3>
 
367
<pre class="programlisting">#define GNOME_VFS_DRIVE_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), GNOME_VFS_TYPE_DRIVE, GnomeVFSDriveClass))
 
368
</pre>
 
369
<p>
 
370
 
 
371
</p>
 
372
<div class="variablelist"><table border="0">
 
373
<col align="left" valign="top">
 
374
<tbody><tr>
 
375
<td><p><span class="term"><em class="parameter"><code>k</code></em> :</span></p></td>
 
376
<td>
 
377
 
 
378
 
 
379
</td>
 
380
</tr></tbody>
 
381
</table></div>
 
382
</div>
 
383
<hr>
 
384
<div class="refsect2" lang="en">
 
385
<a name="gnome-vfs-drive-compare"></a><h3>gnome_vfs_drive_compare ()</h3>
 
386
<pre class="programlisting"><a
 
387
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
388
>gint</a>                gnome_vfs_drive_compare             (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *a,
 
389
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *b);</pre>
 
390
<p>
 
391
Compares two <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> objects <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>. Two
 
392
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> objects referring to different drives
383
393
are guaranteed to not return 0 when comparing them,
384
394
if they refer to the same drive 0 is returned.
385
395
</p>
386
396
<p>
387
 
The resulting <span class="type">gint</span> should be used to determine the
 
397
The resulting <a
 
398
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
399
><span class="type">gint</span></a> should be used to determine the
388
400
order in which <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em> are displayed in graphical
389
401
user interfces.
390
402
</p>
405
417
<p>
406
418
Afterwards, the display name of <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em> is compared
407
419
using a locale-sensitive sorting algorithm, which
408
 
involves <code class="function">g_utf8_collate_key()</code>.
 
420
involves <a
 
421
href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#g-utf8-collate-key"
 
422
><code class="function">g_utf8_collate_key()</code></a>.
409
423
</p>
410
424
<p>
411
425
If two drives have the same display name, their
412
426
unique ID is compared which can be queried using
413
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-id"><code class="function">gnome_vfs_drive_get_id()</code></a>.</p>
 
427
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-id" title="gnome_vfs_drive_get_id ()"><code class="function">gnome_vfs_drive_get_id()</code></a>.</p>
414
428
<p>
415
429
 
416
430
</p>
418
432
<col align="left" valign="top">
419
433
<tbody>
420
434
<tr>
421
 
<td><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
422
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
423
 
</td>
424
 
</tr>
425
 
<tr>
426
 
<td><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
427
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
428
 
</td>
429
 
</tr>
430
 
<tr>
431
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
435
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
 
436
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
437
</td>
 
438
</tr>
 
439
<tr>
 
440
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
 
441
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
442
</td>
 
443
</tr>
 
444
<tr>
 
445
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
432
446
<td> 0 if the drives refer to the same <em class="parameter"><code>GnomeVFSDrive</code></em>,
433
447
a negative value if <em class="parameter"><code>a</code></em> should be displayed before <em class="parameter"><code>b</code></em>,
434
448
or a positive value if <em class="parameter"><code>a</code></em> should be displayed after <em class="parameter"><code>b</code></em>.
442
456
</div>
443
457
<hr>
444
458
<div class="refsect2" lang="en">
445
 
<a name="id2661761"></a><h3>
446
 
<a name="gnome-vfs-drive-eject"></a>gnome_vfs_drive_eject ()</h3>
447
 
<a class="indexterm" name="id2661777"></a><pre class="programlisting">void                gnome_vfs_drive_eject               (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
448
 
                                                         <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</a> callback,
449
 
                                                         gpointer user_data);</pre>
 
459
<a name="gnome-vfs-drive-eject"></a><h3>gnome_vfs_drive_eject ()</h3>
 
460
<pre class="programlisting">void                gnome_vfs_drive_eject               (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
 
461
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()">GnomeVFSVolumeOpCallback</a> callback,
 
462
                                                         <a
 
463
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
464
>gpointer</a> user_data);</pre>
450
465
<p>
451
 
If <em class="parameter"><code>drive</code></em> has associated <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, all of them will be
452
 
unmounted by calling <a href="gnome-vfs-20-gnome-vfs-volume.html#gnome-vfs-volume-unmount"><code class="function">gnome_vfs_volume_unmount()</code></a> for each volume in
453
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>, except for the last one,
454
 
for which <a href="gnome-vfs-20-gnome-vfs-volume.html#gnome-vfs-volume-eject"><code class="function">gnome_vfs_volume_eject()</code></a> is called to ensure that the
 
466
If <em class="parameter"><code>drive</code></em> has associated <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, all of them will be
 
467
unmounted by calling <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#gnome-vfs-volume-unmount" title="gnome_vfs_volume_unmount ()"><code class="function">gnome_vfs_volume_unmount()</code></a> for each volume in
 
468
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>, except for the last one,
 
469
for which <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#gnome-vfs-volume-eject" title="gnome_vfs_volume_eject ()"><code class="function">gnome_vfs_volume_eject()</code></a> is called to ensure that the
455
470
<em class="parameter"><code>drive</code></em>'s media is ejected.
456
471
</p>
457
472
<p>
458
 
If <em class="parameter"><code>drive</code></em> however has no associated <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, it
 
473
If <em class="parameter"><code>drive</code></em> however has no associated <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> objects, it
459
474
simply calls an unmount helper on the <em class="parameter"><code>drive</code></em>.</p>
460
475
<p>
461
476
 
464
479
<col align="left" valign="top">
465
480
<tbody>
466
481
<tr>
467
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
468
 
<td> the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be ejcted.
469
 
</td>
470
 
</tr>
471
 
<tr>
472
 
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
473
 
<td> the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after ejecting <em class="parameter"><code>drive</code></em>.
474
 
</td>
475
 
</tr>
476
 
<tr>
477
 
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
482
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
483
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be ejcted.
 
484
</td>
 
485
</tr>
 
486
<tr>
 
487
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
488
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after ejecting <em class="parameter"><code>drive</code></em>.
 
489
</td>
 
490
</tr>
 
491
<tr>
 
492
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
478
493
<td> the user data to pass to <em class="parameter"><code>callback</code></em>.
479
494
</td>
480
495
</tr>
485
500
</div>
486
501
<hr>
487
502
<div class="refsect2" lang="en">
488
 
<a name="id2661989"></a><h3>
489
 
<a name="gnome-vfs-drive-get-activation-uri"></a>gnome_vfs_drive_get_activation_uri ()</h3>
490
 
<a class="indexterm" name="id2662006"></a><pre class="programlisting">char*               gnome_vfs_drive_get_activation_uri  (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
503
<a name="gnome-vfs-drive-get-activation-uri"></a><h3>gnome_vfs_drive_get_activation_uri ()</h3>
 
504
<pre class="programlisting">char*               gnome_vfs_drive_get_activation_uri  (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
491
505
<p>
492
 
Returns the activation URI of a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
506
Returns the activation URI of a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
493
507
</p>
494
508
<p>
495
509
The returned URI usually refers to a valid location. You can check the
496
 
validity of the location by calling <a href="gnome-vfs-20-gnome-vfs-uri.html#gnome-vfs-uri-new"><code class="function">gnome_vfs_uri_new()</code></a> with the URI,
497
 
and checking whether the return value is not <code class="literal">NULL</code>.</p>
 
510
validity of the location by calling <a class="link" href="gnome-vfs-20-gnome-vfs-uri.html#gnome-vfs-uri-new" title="gnome_vfs_uri_new ()"><code class="function">gnome_vfs_uri_new()</code></a> with the URI,
 
511
and checking whether the return value is not <a
 
512
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
513
><code class="literal">NULL</code></a>.</p>
498
514
<p>
499
515
 
500
516
</p>
502
518
<col align="left" valign="top">
503
519
<tbody>
504
520
<tr>
505
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
506
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
521
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
522
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
507
523
</td>
508
524
</tr>
509
525
<tr>
510
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
526
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
511
527
<td> a newly allocated string for the activation uri of the <span class="type">drive</span>.
512
528
 
513
529
</td>
519
535
</div>
520
536
<hr>
521
537
<div class="refsect2" lang="en">
522
 
<a name="id2662125"></a><h3>
523
 
<a name="gnome-vfs-drive-get-device-path"></a>gnome_vfs_drive_get_device_path ()</h3>
524
 
<a class="indexterm" name="id2662141"></a><pre class="programlisting">char*               gnome_vfs_drive_get_device_path     (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
538
<a name="gnome-vfs-drive-get-device-path"></a><h3>gnome_vfs_drive_get_device_path ()</h3>
 
539
<pre class="programlisting">char*               gnome_vfs_drive_get_device_path     (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
525
540
<p>
526
 
Returns the device path of a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
541
Returns the device path of a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
527
542
</p>
528
543
<p>
529
544
For HAL drives, this returns the value of the
531
546
it returns the <code class="literal">mntent</code>'s <code class="literal">mnt_fsname</code> entry.
532
547
</p>
533
548
<p>
534
 
Otherwise, it returns <code class="literal">NULL</code>.</p>
 
549
Otherwise, it returns <a
 
550
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
551
><code class="literal">NULL</code></a>.</p>
535
552
<p>
536
553
 
537
554
</p>
539
556
<col align="left" valign="top">
540
557
<tbody>
541
558
<tr>
542
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
543
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
559
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
560
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
544
561
</td>
545
562
</tr>
546
563
<tr>
547
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
564
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
548
565
<td> a newly allocated string for the device path of the <span class="type">drive</span>.
549
566
 
550
567
</td>
556
573
</div>
557
574
<hr>
558
575
<div class="refsect2" lang="en">
559
 
<a name="id2662272"></a><h3>
560
 
<a name="gnome-vfs-drive-get-device-type"></a>gnome_vfs_drive_get_device_type ()</h3>
561
 
<a class="indexterm" name="id2662288"></a><pre class="programlisting"><a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType">GnomeVFSDeviceType</a>  gnome_vfs_drive_get_device_type     (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
576
<a name="gnome-vfs-drive-get-device-type"></a><h3>gnome_vfs_drive_get_device_type ()</h3>
 
577
<pre class="programlisting"><a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType">GnomeVFSDeviceType</a>  gnome_vfs_drive_get_device_type     (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
562
578
<p>
563
579
</p>
564
580
<p>
568
584
<col align="left" valign="top">
569
585
<tbody>
570
586
<tr>
571
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
572
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
587
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
588
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
573
589
</td>
574
590
</tr>
575
591
<tr>
576
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
577
 
<td> device type, a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType"><span class="type">GnomeVFSDeviceType</span></a> value.
 
592
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
593
<td> device type, a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDeviceType" title="enum GnomeVFSDeviceType"><span class="type">GnomeVFSDeviceType</span></a> value.
578
594
 
579
595
</td>
580
596
</tr>
585
601
</div>
586
602
<hr>
587
603
<div class="refsect2" lang="en">
588
 
<a name="id2662372"></a><h3>
589
 
<a name="gnome-vfs-drive-get-display-name"></a>gnome_vfs_drive_get_display_name ()</h3>
590
 
<a class="indexterm" name="id2662388"></a><pre class="programlisting">char*               gnome_vfs_drive_get_display_name    (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
604
<a name="gnome-vfs-drive-get-display-name"></a><h3>gnome_vfs_drive_get_display_name ()</h3>
 
605
<pre class="programlisting">char*               gnome_vfs_drive_get_display_name    (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
591
606
<p>
592
607
</p>
593
608
<p>
597
612
<col align="left" valign="top">
598
613
<tbody>
599
614
<tr>
600
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
601
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
615
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
616
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
602
617
</td>
603
618
</tr>
604
619
<tr>
605
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
620
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
606
621
<td> a newly allocated string for the display name of the <em class="parameter"><code>drive</code></em>.
607
622
 
608
623
</td>
614
629
</div>
615
630
<hr>
616
631
<div class="refsect2" lang="en">
617
 
<a name="id2662470"></a><h3>
618
 
<a name="gnome-vfs-drive-get-hal-udi"></a>gnome_vfs_drive_get_hal_udi ()</h3>
619
 
<a class="indexterm" name="id2662485"></a><pre class="programlisting">char*               gnome_vfs_drive_get_hal_udi         (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
632
<a name="gnome-vfs-drive-get-hal-udi"></a><h3>gnome_vfs_drive_get_hal_udi ()</h3>
 
633
<pre class="programlisting">char*               gnome_vfs_drive_get_hal_udi         (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
620
634
<p>
621
 
Returns the HAL UDI of a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
635
Returns the HAL UDI of a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
622
636
</p>
623
637
<p>
624
638
For HAL drives, this matches the value of the "info.udi" key,
625
 
for other drives it is <code class="literal">NULL</code>.</p>
 
639
for other drives it is <a
 
640
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
641
><code class="literal">NULL</code></a>.</p>
626
642
<p>
627
643
 
628
644
</p>
630
646
<col align="left" valign="top">
631
647
<tbody>
632
648
<tr>
633
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
634
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
649
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
650
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
635
651
</td>
636
652
</tr>
637
653
<tr>
638
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
639
 
<td> a newly allocated string for the unique device id of the <em class="parameter"><code>drive</code></em>, or <code class="literal">NULL</code>.
 
654
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
655
<td> a newly allocated string for the unique device id of the <em class="parameter"><code>drive</code></em>, or <a
 
656
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
657
><code class="literal">NULL</code></a>.
640
658
 
641
659
</td>
642
660
</tr>
647
665
</div>
648
666
<hr>
649
667
<div class="refsect2" lang="en">
650
 
<a name="id2662600"></a><h3>
651
 
<a name="gnome-vfs-drive-get-icon"></a>gnome_vfs_drive_get_icon ()</h3>
652
 
<a class="indexterm" name="id2662616"></a><pre class="programlisting">char*               gnome_vfs_drive_get_icon            (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
668
<a name="gnome-vfs-drive-get-icon"></a><h3>gnome_vfs_drive_get_icon ()</h3>
 
669
<pre class="programlisting">char*               gnome_vfs_drive_get_icon            (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
653
670
<p>
654
671
</p>
655
672
<p>
659
676
<col align="left" valign="top">
660
677
<tbody>
661
678
<tr>
662
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
663
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
679
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
680
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
664
681
</td>
665
682
</tr>
666
683
<tr>
667
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
684
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
668
685
<td> a newly allocated string for the icon filename of the <em class="parameter"><code>drive</code></em>.
669
686
 
670
687
</td>
676
693
</div>
677
694
<hr>
678
695
<div class="refsect2" lang="en">
679
 
<a name="id2662697"></a><h3>
680
 
<a name="gnome-vfs-drive-get-id"></a>gnome_vfs_drive_get_id ()</h3>
681
 
<a class="indexterm" name="id2662713"></a><pre class="programlisting">gulong              gnome_vfs_drive_get_id              (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
696
<a name="gnome-vfs-drive-get-id"></a><h3>gnome_vfs_drive_get_id ()</h3>
 
697
<pre class="programlisting"><a
 
698
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
699
>gulong</a>              gnome_vfs_drive_get_id              (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
682
700
<p>
683
701
</p>
684
702
<p>
688
706
<col align="left" valign="top">
689
707
<tbody>
690
708
<tr>
691
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
692
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
709
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
710
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
693
711
</td>
694
712
</tr>
695
713
<tr>
696
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
697
 
<td> drive id, a <span class="type">gulong</span> value.
 
714
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
715
<td> drive id, a <a
 
716
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
717
><span class="type">gulong</span></a> value.
698
718
 
699
719
</td>
700
720
</tr>
705
725
</div>
706
726
<hr>
707
727
<div class="refsect2" lang="en">
708
 
<a name="id2662796"></a><h3>
709
 
<a name="gnome-vfs-drive-get-mounted-volume"></a>gnome_vfs_drive_get_mounted_volume ()</h3>
710
 
<a class="indexterm" name="id2662814"></a><a class="indexterm" name="id2662822"></a><pre class="programlisting"><a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a>*     gnome_vfs_drive_get_mounted_volume  (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
728
<a name="gnome-vfs-drive-get-mounted-volume"></a><h3>gnome_vfs_drive_get_mounted_volume ()</h3>
 
729
<pre class="programlisting"><a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a>*     gnome_vfs_drive_get_mounted_volume  (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
711
730
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
712
731
<h3 class="title">Warning</h3>
713
 
<p><code class="literal">gnome_vfs_drive_get_mounted_volume</code> is deprecated and should not be used in newly-written code. Use <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a> instead.</p>
 
732
<p><code class="literal">gnome_vfs_drive_get_mounted_volume</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a> instead.</p>
714
733
</div>
715
734
<p>
716
735
Returns the first mounted volume for the <em class="parameter"><code>drive</code></em>.</p>
721
740
<col align="left" valign="top">
722
741
<tbody>
723
742
<tr>
724
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
725
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
743
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
744
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
726
745
</td>
727
746
</tr>
728
747
<tr>
729
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
730
 
<td> a <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a>.
 
748
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
749
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a>.
731
750
 
732
751
</td>
733
752
</tr>
738
757
</div>
739
758
<hr>
740
759
<div class="refsect2" lang="en">
741
 
<a name="id2662934"></a><h3>
742
 
<a name="gnome-vfs-drive-get-mounted-volumes"></a>gnome_vfs_drive_get_mounted_volumes ()</h3>
743
 
<a class="indexterm" name="id2662950"></a><pre class="programlisting">GList*              gnome_vfs_drive_get_mounted_volumes (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
760
<a name="gnome-vfs-drive-get-mounted-volumes"></a><h3>gnome_vfs_drive_get_mounted_volumes ()</h3>
 
761
<pre class="programlisting"><a
 
762
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
763
>GList</a>*              gnome_vfs_drive_get_mounted_volumes (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
744
764
<p>
745
765
</p>
746
766
<p>
750
770
<col align="left" valign="top">
751
771
<tbody>
752
772
<tr>
753
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
754
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
773
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
774
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
755
775
</td>
756
776
</tr>
757
777
<tr>
758
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
778
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
759
779
<td> list of mounted volumes for the <em class="parameter"><code>drive</code></em>.
760
780
 
761
781
</td>
767
787
</div>
768
788
<hr>
769
789
<div class="refsect2" lang="en">
770
 
<a name="id2663031"></a><h3>
771
 
<a name="gnome-vfs-drive-volume-list-free"></a>gnome_vfs_drive_volume_list_free ()</h3>
772
 
<a class="indexterm" name="id2663047"></a><pre class="programlisting">void                gnome_vfs_drive_volume_list_free    (GList *volumes);</pre>
 
790
<a name="gnome-vfs-drive-volume-list-free"></a><h3>gnome_vfs_drive_volume_list_free ()</h3>
 
791
<pre class="programlisting">void                gnome_vfs_drive_volume_list_free    (<a
 
792
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
793
>GList</a> *volumes);</pre>
773
794
<p>
774
 
Frees the list <em class="parameter"><code>volumes</code></em>, if it is not <code class="literal">NULL</code>.</p>
 
795
Frees the list <em class="parameter"><code>volumes</code></em>, if it is not <a
 
796
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
797
><code class="literal">NULL</code></a>.</p>
775
798
<p>
776
799
 
777
800
</p>
778
801
<div class="variablelist"><table border="0">
779
802
<col align="left" valign="top">
780
803
<tbody><tr>
781
 
<td><span class="term"><em class="parameter"><code>volumes</code></em>&#160;:</span></td>
782
 
<td> list of <span class="type">GnomeVFSVolumes</span> to be freed, or <code class="literal">NULL</code>.
 
804
<td><p><span class="term"><em class="parameter"><code>volumes</code></em> :</span></p></td>
 
805
<td> list of <span class="type">GnomeVFSVolumes</span> to be freed, or <a
 
806
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
807
><code class="literal">NULL</code></a>.
783
808
</td>
784
809
</tr></tbody>
785
810
</table></div>
788
813
</div>
789
814
<hr>
790
815
<div class="refsect2" lang="en">
791
 
<a name="id2663138"></a><h3>
792
 
<a name="gnome-vfs-drive-get-type"></a>gnome_vfs_drive_get_type ()</h3>
793
 
<a class="indexterm" name="id2663152"></a><pre class="programlisting">GType               gnome_vfs_drive_get_type            (void);</pre>
 
816
<a name="gnome-vfs-drive-get-type"></a><h3>gnome_vfs_drive_get_type ()</h3>
 
817
<pre class="programlisting"><a
 
818
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
 
819
>GType</a>               gnome_vfs_drive_get_type            (void);</pre>
794
820
<p>
795
821
 
796
822
</p>
797
823
<div class="variablelist"><table border="0">
798
824
<col align="left" valign="top">
799
825
<tbody><tr>
800
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
826
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
801
827
<td>
802
828
 
803
829
 
807
833
</div>
808
834
<hr>
809
835
<div class="refsect2" lang="en">
810
 
<a name="id2663188"></a><h3>
811
 
<a name="gnome-vfs-drive-is-connected"></a>gnome_vfs_drive_is_connected ()</h3>
812
 
<a class="indexterm" name="id2663204"></a><pre class="programlisting">gboolean            gnome_vfs_drive_is_connected        (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
813
 
<p>
814
 
</p>
815
 
<p>
816
 
 
817
 
</p>
818
 
<div class="variablelist"><table border="0">
819
 
<col align="left" valign="top">
820
 
<tbody>
821
 
<tr>
822
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
823
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
824
 
</td>
825
 
</tr>
826
 
<tr>
827
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
828
 
<td> <code class="literal">TRUE</code> if the <em class="parameter"><code>drive</code></em> is connected, <code class="literal">FALSE</code> otherwise.
829
 
 
830
 
</td>
831
 
</tr>
832
 
</tbody>
833
 
</table></div>
834
 
<p class="since">Since  2.6
835
 
</p>
836
 
</div>
837
 
<hr>
838
 
<div class="refsect2" lang="en">
839
 
<a name="id2663305"></a><h3>
840
 
<a name="gnome-vfs-drive-is-mounted"></a>gnome_vfs_drive_is_mounted ()</h3>
841
 
<a class="indexterm" name="id2663322"></a><pre class="programlisting">gboolean            gnome_vfs_drive_is_mounted          (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
842
 
<p>
843
 
</p>
844
 
<p>
845
 
 
846
 
</p>
847
 
<div class="variablelist"><table border="0">
848
 
<col align="left" valign="top">
849
 
<tbody>
850
 
<tr>
851
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
852
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
853
 
</td>
854
 
</tr>
855
 
<tr>
856
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
857
 
<td> <code class="literal">TRUE</code> if the <em class="parameter"><code>drive</code></em> is mounted, <code class="literal">FALSE</code> otherwise.
858
 
 
859
 
</td>
860
 
</tr>
861
 
</tbody>
862
 
</table></div>
863
 
<p class="since">Since  2.6
864
 
</p>
865
 
</div>
866
 
<hr>
867
 
<div class="refsect2" lang="en">
868
 
<a name="id2663423"></a><h3>
869
 
<a name="gnome-vfs-drive-is-user-visible"></a>gnome_vfs_drive_is_user_visible ()</h3>
870
 
<a class="indexterm" name="id2663439"></a><pre class="programlisting">gboolean            gnome_vfs_drive_is_user_visible     (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
836
<a name="gnome-vfs-drive-is-connected"></a><h3>gnome_vfs_drive_is_connected ()</h3>
 
837
<pre class="programlisting"><a
 
838
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
839
>gboolean</a>            gnome_vfs_drive_is_connected        (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
840
<p>
 
841
</p>
 
842
<p>
 
843
 
 
844
</p>
 
845
<div class="variablelist"><table border="0">
 
846
<col align="left" valign="top">
 
847
<tbody>
 
848
<tr>
 
849
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
850
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
851
</td>
 
852
</tr>
 
853
<tr>
 
854
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
855
<td> <a
 
856
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
857
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is connected, <a
 
858
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
859
><code class="literal">FALSE</code></a> otherwise.
 
860
 
 
861
</td>
 
862
</tr>
 
863
</tbody>
 
864
</table></div>
 
865
<p class="since">Since  2.6
 
866
</p>
 
867
</div>
 
868
<hr>
 
869
<div class="refsect2" lang="en">
 
870
<a name="gnome-vfs-drive-is-mounted"></a><h3>gnome_vfs_drive_is_mounted ()</h3>
 
871
<pre class="programlisting"><a
 
872
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
873
>gboolean</a>            gnome_vfs_drive_is_mounted          (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
874
<p>
 
875
</p>
 
876
<p>
 
877
 
 
878
</p>
 
879
<div class="variablelist"><table border="0">
 
880
<col align="left" valign="top">
 
881
<tbody>
 
882
<tr>
 
883
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
884
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
885
</td>
 
886
</tr>
 
887
<tr>
 
888
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
889
<td> <a
 
890
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
891
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is mounted, <a
 
892
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
893
><code class="literal">FALSE</code></a> otherwise.
 
894
 
 
895
</td>
 
896
</tr>
 
897
</tbody>
 
898
</table></div>
 
899
<p class="since">Since  2.6
 
900
</p>
 
901
</div>
 
902
<hr>
 
903
<div class="refsect2" lang="en">
 
904
<a name="gnome-vfs-drive-is-user-visible"></a><h3>gnome_vfs_drive_is_user_visible ()</h3>
 
905
<pre class="programlisting"><a
 
906
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
907
>gboolean</a>            gnome_vfs_drive_is_user_visible     (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
871
908
<p>
872
909
Returns whether the <em class="parameter"><code>drive</code></em> is visible to the user. This
873
910
should be used by applications to determine whether it
879
916
<col align="left" valign="top">
880
917
<tbody>
881
918
<tr>
882
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
883
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
 
919
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
920
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>.
884
921
</td>
885
922
</tr>
886
923
<tr>
887
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
888
 
<td> <code class="literal">TRUE</code> if the <em class="parameter"><code>drive</code></em> is visible to the user, <code class="literal">FALSE</code> otherwise.
 
924
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
925
<td> <a
 
926
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
927
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>drive</code></em> is visible to the user, <a
 
928
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
929
><code class="literal">FALSE</code></a> otherwise.
889
930
 
890
931
</td>
891
932
</tr>
896
937
</div>
897
938
<hr>
898
939
<div class="refsect2" lang="en">
899
 
<a name="id2663549"></a><h3>
900
 
<a name="gnome-vfs-drive-mount"></a>gnome_vfs_drive_mount ()</h3>
901
 
<a class="indexterm" name="id2663565"></a><pre class="programlisting">void                gnome_vfs_drive_mount               (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
902
 
                                                         <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</a> callback,
903
 
                                                         gpointer user_data);</pre>
 
940
<a name="gnome-vfs-drive-mount"></a><h3>gnome_vfs_drive_mount ()</h3>
 
941
<pre class="programlisting">void                gnome_vfs_drive_mount               (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
 
942
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()">GnomeVFSVolumeOpCallback</a> callback,
 
943
                                                         <a
 
944
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
945
>gpointer</a> user_data);</pre>
904
946
<p>
905
947
</p>
906
948
<p>
910
952
<col align="left" valign="top">
911
953
<tbody>
912
954
<tr>
913
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
914
 
<td> the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be mounted.
915
 
</td>
916
 
</tr>
917
 
<tr>
918
 
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
919
 
<td> the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after mounting <em class="parameter"><code>drive</code></em>.
920
 
</td>
921
 
</tr>
922
 
<tr>
923
 
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
955
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
956
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be mounted.
 
957
</td>
 
958
</tr>
 
959
<tr>
 
960
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
961
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after mounting <em class="parameter"><code>drive</code></em>.
 
962
</td>
 
963
</tr>
 
964
<tr>
 
965
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
924
966
<td> the user data to pass to <em class="parameter"><code>callback</code></em>.
925
967
</td>
926
968
</tr>
931
973
</div>
932
974
<hr>
933
975
<div class="refsect2" lang="en">
934
 
<a name="id2663696"></a><h3>
935
 
<a name="gnome-vfs-drive-ref"></a>gnome_vfs_drive_ref ()</h3>
936
 
<a class="indexterm" name="id2663711"></a><pre class="programlisting"><a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>*      gnome_vfs_drive_ref                 (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
976
<a name="gnome-vfs-drive-ref"></a><h3>gnome_vfs_drive_ref ()</h3>
 
977
<pre class="programlisting"><a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>*      gnome_vfs_drive_ref                 (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
937
978
<p>
938
 
Increases the refcount of the <em class="parameter"><code>drive</code></em> by 1, if it is not <code class="literal">NULL</code>.</p>
 
979
Increases the refcount of the <em class="parameter"><code>drive</code></em> by 1, if it is not <a
 
980
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
981
><code class="literal">NULL</code></a>.</p>
939
982
<p>
940
983
 
941
984
</p>
943
986
<col align="left" valign="top">
944
987
<tbody>
945
988
<tr>
946
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
947
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>, or <code class="literal">NULL</code>.
 
989
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
990
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>, or <a
 
991
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
992
><code class="literal">NULL</code></a>.
948
993
</td>
949
994
</tr>
950
995
<tr>
951
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
996
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
952
997
<td> the <em class="parameter"><code>drive</code></em> with its refcount increased by one,
953
 
            or <code class="literal">NULL</code> if <em class="parameter"><code>drive</code></em> is <code class="literal">NULL</code>.
 
998
            or <a
 
999
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
1000
><code class="literal">NULL</code></a> if <em class="parameter"><code>drive</code></em> is <a
 
1001
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
1002
><code class="literal">NULL</code></a>.
954
1003
 
955
1004
</td>
956
1005
</tr>
961
1010
</div>
962
1011
<hr>
963
1012
<div class="refsect2" lang="en">
964
 
<a name="id2663846"></a><h3>
965
 
<a name="gnome-vfs-drive-unmount"></a>gnome_vfs_drive_unmount ()</h3>
966
 
<a class="indexterm" name="id2663862"></a><pre class="programlisting">void                gnome_vfs_drive_unmount             (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
967
 
                                                         <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</a> callback,
968
 
                                                         gpointer user_data);</pre>
 
1013
<a name="gnome-vfs-drive-unmount"></a><h3>gnome_vfs_drive_unmount ()</h3>
 
1014
<pre class="programlisting">void                gnome_vfs_drive_unmount             (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive,
 
1015
                                                         <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()">GnomeVFSVolumeOpCallback</a> callback,
 
1016
                                                         <a
 
1017
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
1018
>gpointer</a> user_data);</pre>
969
1019
<p>
970
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unmount"><code class="function">gnome_vfs_drive_unmount()</code></a> invokes <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-eject"><code class="function">gnome_vfs_drive_eject()</code></a>, if the <em class="parameter"><code>drive</code></em> signals
 
1020
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unmount" title="gnome_vfs_drive_unmount ()"><code class="function">gnome_vfs_drive_unmount()</code></a> invokes <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-eject" title="gnome_vfs_drive_eject ()"><code class="function">gnome_vfs_drive_eject()</code></a>, if the <em class="parameter"><code>drive</code></em> signals
971
1021
that it should be ejected when it is unmounted. This may be true for CD-ROMs,
972
 
USB sticks and other devices, depending on the backend providing the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>.
 
1022
USB sticks and other devices, depending on the backend providing the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>.
973
1023
</p>
974
1024
<p>
975
1025
If the <em class="parameter"><code>drive</code></em> does not signal that it should be ejected when it is unmounted,
976
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unmount"><code class="function">gnome_vfs_drive_unmount()</code></a> calls <a href="gnome-vfs-20-gnome-vfs-volume.html#gnome-vfs-volume-unmount"><code class="function">gnome_vfs_volume_unmount()</code></a> for each of the
 
1026
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-unmount" title="gnome_vfs_drive_unmount ()"><code class="function">gnome_vfs_drive_unmount()</code></a> calls <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#gnome-vfs-volume-unmount" title="gnome_vfs_volume_unmount ()"><code class="function">gnome_vfs_volume_unmount()</code></a> for each of the
977
1027
<em class="parameter"><code>drive</code></em>'s mounted <span class="type">GnomeVFSVolumes</span>, which can be queried using
978
 
<a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.</p>
 
1028
<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.</p>
979
1029
<p>
980
1030
 
981
1031
</p>
983
1033
<col align="left" valign="top">
984
1034
<tbody>
985
1035
<tr>
986
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
987
 
<td> the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be unmounted.
988
 
</td>
989
 
</tr>
990
 
<tr>
991
 
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
992
 
<td> the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after unmounting <em class="parameter"><code>drive</code></em>.
993
 
</td>
994
 
</tr>
995
 
<tr>
996
 
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
1036
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
1037
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> that should be unmounted.
 
1038
</td>
 
1039
</tr>
 
1040
<tr>
 
1041
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
1042
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolumeOpCallback" title="GnomeVFSVolumeOpCallback ()"><span class="type">GnomeVFSVolumeOpCallback</span></a> that should be invoked after unmounting <em class="parameter"><code>drive</code></em>.
 
1043
</td>
 
1044
</tr>
 
1045
<tr>
 
1046
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
997
1047
<td> the user data to pass to <em class="parameter"><code>callback</code></em>.
998
1048
</td>
999
1049
</tr>
1004
1054
</div>
1005
1055
<hr>
1006
1056
<div class="refsect2" lang="en">
1007
 
<a name="id2664096"></a><h3>
1008
 
<a name="gnome-vfs-drive-unref"></a>gnome_vfs_drive_unref ()</h3>
1009
 
<a class="indexterm" name="id2664112"></a><pre class="programlisting">void                gnome_vfs_drive_unref               (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
 
1057
<a name="gnome-vfs-drive-unref"></a><h3>gnome_vfs_drive_unref ()</h3>
 
1058
<pre class="programlisting">void                gnome_vfs_drive_unref               (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a> *drive);</pre>
1010
1059
<p>
1011
 
Decreases the refcount of the <em class="parameter"><code>drive</code></em> by 1, if it is not <code class="literal">NULL</code>.</p>
 
1060
Decreases the refcount of the <em class="parameter"><code>drive</code></em> by 1, if it is not <a
 
1061
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
1062
><code class="literal">NULL</code></a>.</p>
1012
1063
<p>
1013
1064
 
1014
1065
</p>
1015
1066
<div class="variablelist"><table border="0">
1016
1067
<col align="left" valign="top">
1017
1068
<tbody><tr>
1018
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
1019
 
<td> a <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>, or <code class="literal">NULL</code>.
 
1069
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
1070
<td> a <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a>, or <a
 
1071
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
1072
><code class="literal">NULL</code></a>.
1020
1073
</td>
1021
1074
</tr></tbody>
1022
1075
</table></div>
1025
1078
</div>
1026
1079
</div>
1027
1080
<div class="refsect1" lang="en">
1028
 
<a name="id2664205"></a><h2>Signal Details</h2>
 
1081
<a name="gnome-vfs-20-gnome-vfs-drive.signal-details"></a><h2>Signal Details</h2>
1029
1082
<div class="refsect2" lang="en">
1030
 
<a name="id2664215"></a><h3>
1031
 
<a name="GnomeVFSDrive-volume-mounted"></a>The "volume-mounted" signal</h3>
1032
 
<a class="indexterm" name="id2664226"></a><pre class="programlisting">void                user_function                      (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>  *drive,
1033
 
                                                        <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a> *volume,
1034
 
                                                        gpointer        user_data)      : Run First</pre>
 
1083
<a name="GnomeVFSDrive-volume-mounted"></a><h3>The <code class="literal">"volume-mounted"</code> signal</h3>
 
1084
<pre class="programlisting">void                user_function                      (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>  *drive,
 
1085
                                                        <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a> *volume,
 
1086
                                                        <a
 
1087
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
1088
>gpointer</a>        user_data)      : Run First</pre>
1035
1089
<p>
1036
 
This signal is emitted after the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em> has been mounted.
 
1090
This signal is emitted after the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em> has been mounted.
1037
1091
</p>
1038
1092
<p>
1039
1093
When the <em class="parameter"><code>volume</code></em> is mounted, it is added to the <em class="parameter"><code>drive</code></em>'s list of mounted
1040
 
volumes, which can be queried using <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
 
1094
volumes, which can be queried using <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
1041
1095
</p>
1042
1096
<p>
1043
 
It is also added to the list of the <a href="gnome-vfs-20-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted
1044
 
volumes, which can be queried using <a href="gnome-vfs-20-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.</p>
 
1097
It is also added to the list of the <a class="link" href="gnome-vfs-20-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted
 
1098
volumes, which can be queried using <a class="link" href="gnome-vfs-20-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes" title="gnome_vfs_volume_monitor_get_mounted_volumes ()"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.</p>
1045
1099
<p>
1046
1100
 
1047
1101
</p>
1049
1103
<col align="left" valign="top">
1050
1104
<tbody>
1051
1105
<tr>
1052
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
1053
 
<td> the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.
1054
 
</td>
1055
 
</tr>
1056
 
<tr>
1057
 
<td><span class="term"><em class="parameter"><code>volume</code></em>&#160;:</span></td>
1058
 
<td> the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that has been mounted.
1059
 
</td>
1060
 
</tr>
1061
 
<tr>
1062
 
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
1106
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
1107
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.
 
1108
</td>
 
1109
</tr>
 
1110
<tr>
 
1111
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
 
1112
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that has been mounted.
 
1113
</td>
 
1114
</tr>
 
1115
<tr>
 
1116
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1063
1117
<td>user data set when the signal handler was connected.</td>
1064
1118
</tr>
1065
1119
</tbody>
1067
1121
</div>
1068
1122
<hr>
1069
1123
<div class="refsect2" lang="en">
1070
 
<a name="id2664406"></a><h3>
1071
 
<a name="GnomeVFSDrive-volume-pre-unmount"></a>The "volume-pre-unmount" signal</h3>
1072
 
<a class="indexterm" name="id2664417"></a><pre class="programlisting">void                user_function                      (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>  *drive,
1073
 
                                                        <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a> *volume,
1074
 
                                                        gpointer        user_data)      : Run First</pre>
 
1124
<a name="GnomeVFSDrive-volume-pre-unmount"></a><h3>The <code class="literal">"volume-pre-unmount"</code> signal</h3>
 
1125
<pre class="programlisting">void                user_function                      (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>  *drive,
 
1126
                                                        <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a> *volume,
 
1127
                                                        <a
 
1128
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
1129
>gpointer</a>        user_data)      : Run First</pre>
1075
1130
<p>
1076
 
This signal is emitted when the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em>, which has been present in
1077
 
the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>, is about to be unmounted.
 
1131
This signal is emitted when the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em>, which has been present in
 
1132
the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>, is about to be unmounted.
1078
1133
</p>
1079
1134
<p>
1080
1135
When the <em class="parameter"><code>volume</code></em> is unmounted, it is removed from the <em class="parameter"><code>drive</code></em>'s list of mounted
1081
 
volumes, which can be queried using <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
 
1136
volumes, which can be queried using <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
1082
1137
</p>
1083
1138
<p>
1084
 
It is also removed from the <a href="gnome-vfs-20-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted volumes,
1085
 
which can be queried using <a href="gnome-vfs-20-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.
 
1139
It is also removed from the <a class="link" href="gnome-vfs-20-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted volumes,
 
1140
which can be queried using <a class="link" href="gnome-vfs-20-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes" title="gnome_vfs_volume_monitor_get_mounted_volumes ()"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.
1086
1141
</p>
1087
1142
<p>
1088
1143
When a client application receives this signal, it must free all resources
1089
1144
associated with the <em class="parameter"><code>volume</code></em>, for instance cancel all pending file operations
1090
 
on the <em class="parameter"><code>volume</code></em>, and cancel all pending file monitors using <a href="gnome-vfs-20-gnome-vfs-monitor.html#gnome-vfs-monitor-cancel"><code class="function">gnome_vfs_monitor_cancel()</code></a>.</p>
 
1145
on the <em class="parameter"><code>volume</code></em>, and cancel all pending file monitors using <a class="link" href="gnome-vfs-20-gnome-vfs-monitor.html#gnome-vfs-monitor-cancel" title="gnome_vfs_monitor_cancel ()"><code class="function">gnome_vfs_monitor_cancel()</code></a>.</p>
1091
1146
<p>
1092
1147
 
1093
1148
</p>
1095
1150
<col align="left" valign="top">
1096
1151
<tbody>
1097
1152
<tr>
1098
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
1099
 
<td> the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.
1100
 
</td>
1101
 
</tr>
1102
 
<tr>
1103
 
<td><span class="term"><em class="parameter"><code>volume</code></em>&#160;:</span></td>
1104
 
<td> the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that is about to be unmounted.
1105
 
</td>
1106
 
</tr>
1107
 
<tr>
1108
 
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
1153
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
1154
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.
 
1155
</td>
 
1156
</tr>
 
1157
<tr>
 
1158
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
 
1159
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that is about to be unmounted.
 
1160
</td>
 
1161
</tr>
 
1162
<tr>
 
1163
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1109
1164
<td>user data set when the signal handler was connected.</td>
1110
1165
</tr>
1111
1166
</tbody>
1113
1168
</div>
1114
1169
<hr>
1115
1170
<div class="refsect2" lang="en">
1116
 
<a name="id2664641"></a><h3>
1117
 
<a name="GnomeVFSDrive-volume-unmounted"></a>The "volume-unmounted" signal</h3>
1118
 
<a class="indexterm" name="id2664652"></a><pre class="programlisting">void                user_function                      (<a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>  *drive,
1119
 
                                                        <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a> *volume,
1120
 
                                                        gpointer        user_data)      : Run First</pre>
 
1171
<a name="GnomeVFSDrive-volume-unmounted"></a><h3>The <code class="literal">"volume-unmounted"</code> signal</h3>
 
1172
<pre class="programlisting">void                user_function                      (<a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive">GnomeVFSDrive</a>  *drive,
 
1173
                                                        <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume">GnomeVFSVolume</a> *volume,
 
1174
                                                        <a
 
1175
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
1176
>gpointer</a>        user_data)      : Run First</pre>
1121
1177
<p>
1122
 
This signal is emitted after the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em>, which had been present in
1123
 
the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>, has been unmounted.
 
1178
This signal is emitted after the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> <em class="parameter"><code>volume</code></em>, which had been present in
 
1179
the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> <em class="parameter"><code>drive</code></em>, has been unmounted.
1124
1180
</p>
1125
1181
<p>
1126
1182
When the <em class="parameter"><code>volume</code></em> is unmounted, it is removed from the <em class="parameter"><code>drive</code></em>'s list of mounted
1127
 
volumes, which can be queried using <a href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
 
1183
volumes, which can be queried using <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#gnome-vfs-drive-get-mounted-volumes" title="gnome_vfs_drive_get_mounted_volumes ()"><code class="function">gnome_vfs_drive_get_mounted_volumes()</code></a>.
1128
1184
</p>
1129
1185
<p>
1130
 
It is also removed from the <a href="gnome-vfs-20-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted volumes,
1131
 
which can be queried using <a href="gnome-vfs-20-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.</p>
 
1186
It is also removed from the <a class="link" href="gnome-vfs-20-gnome-vfs-volume-monitor.html#GnomeVFSVolumeMonitor"><span class="type">GnomeVFSVolumeMonitor</span></a>'s list of mounted volumes,
 
1187
which can be queried using <a class="link" href="gnome-vfs-20-gnome-vfs-volume-monitor.html#gnome-vfs-volume-monitor-get-mounted-volumes" title="gnome_vfs_volume_monitor_get_mounted_volumes ()"><code class="function">gnome_vfs_volume_monitor_get_mounted_volumes()</code></a>.</p>
1132
1188
<p>
1133
1189
 
1134
1190
</p>
1136
1192
<col align="left" valign="top">
1137
1193
<tbody>
1138
1194
<tr>
1139
 
<td><span class="term"><em class="parameter"><code>drive</code></em>&#160;:</span></td>
1140
 
<td> the <a href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.
1141
 
</td>
1142
 
</tr>
1143
 
<tr>
1144
 
<td><span class="term"><em class="parameter"><code>volume</code></em>&#160;:</span></td>
1145
 
<td> the <a href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that has been unmounted.
1146
 
</td>
1147
 
</tr>
1148
 
<tr>
1149
 
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
1195
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
 
1196
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-drive.html#GnomeVFSDrive"><span class="type">GnomeVFSDrive</span></a> which received the signal.
 
1197
</td>
 
1198
</tr>
 
1199
<tr>
 
1200
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
 
1201
<td> the <a class="link" href="gnome-vfs-20-gnome-vfs-volume.html#GnomeVFSVolume"><span class="type">GnomeVFSVolume</span></a> that has been unmounted.
 
1202
</td>
 
1203
</tr>
 
1204
<tr>
 
1205
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1150
1206
<td>user data set when the signal handler was connected.</td>
1151
1207
</tr>
1152
1208
</tbody>
1154
1210
</div>
1155
1211
</div>
1156
1212
</div>
 
1213
<div class="footer">
 
1214
<hr>
 
1215
          Generated by GTK-Doc V1.10</div>
1157
1216
</body>
1158
1217
</html>