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

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/extending-gio.html

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Extending GIO</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="pt01.html" title="Part I. GIO Overview">
9
9
<link rel="prev" href="ch03.html" title="Running GIO applications">
41
41
<th width="100%" align="center">GIO Reference Manual</th>
42
42
<td><a accesskey="n" href="pt02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
43
43
</tr></table>
44
 
<div class="chapter" lang="en">
 
44
<div class="chapter" title="Extending GIO">
45
45
<div class="titlepage"><div><div><h2 class="title">
46
46
<a name="extending-gio"></a>Extending GIO</h2></div></div></div>
47
47
<p>
54
54
<p>
55
55
      The following extension points are currently defined by GIO:
56
56
    </p>
57
 
<p><b>G_VFS_EXTENSION_POINT_NAME. </b>
 
57
<p title="G_VFS_EXTENSION_POINT_NAME"><b>G_VFS_EXTENSION_POINT_NAME. </b>
58
58
          Allows to override the functionality of the <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a> class.
59
59
          Implementations of this extension point must be derived from <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a>.
60
60
          GIO uses the implementation with the highest priority that is active,
63
63
          GIO implements this extension point for local files, gvfs contains
64
64
          an implementation that supports all the backends in gvfs.
65
65
       </p>
66
 
<p><b>G_VOLUME_MONITOR_EXTENSION_POINT_NAME. </b>
 
66
<p title="G_VOLUME_MONITOR_EXTENSION_POINT_NAME"><b>G_VOLUME_MONITOR_EXTENSION_POINT_NAME. </b>
67
67
         Allows to add more volume monitors.
68
68
         Implementations of this extension point must be derived from
69
69
         <a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a>. GIO uses all registered extensions.
71
71
        gvfs contains an implementation that works together with the <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a>
72
72
        implementation in gvfs.
73
73
      </p>
74
 
<p><b>G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME. </b>
 
74
<p title="G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME"><b>G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME. </b>
75
75
         Allows to override the 'native' volume monitor.
76
76
         Implementations of this extension point must be derived from
77
77
         <span class="type">GNativeVolumeMonitor</span>. GIO uses the implementation with
81
81
         GIO implements this extension point for local mounts, 
82
82
         gvfs contains a hal-based implementation. 
83
83
      </p>
84
 
<p><b>G_LOCAL_FILE_MONITOR_EXTENSION_POINT_NAME. </b>
 
84
<p title="G_LOCAL_FILE_MONITOR_EXTENSION_POINT_NAME"><b>G_LOCAL_FILE_MONITOR_EXTENSION_POINT_NAME. </b>
85
85
        Allows to override the file monitor implementation for 
86
86
        local files. Implementations of this extension point must 
87
87
        be derived from <span class="type">GLocalFileMonitor</span>. GIO uses the implementation 
91
91
        GIO uses this extension point internally, to switch between
92
92
        its fam-based and inotify-based file monitoring implementations.
93
93
      </p>
94
 
<p><b>G_LOCAL_DIRECTORY_MONITOR_EXTENSION_POINT_NAME. </b>
 
94
<p title="G_LOCAL_DIRECTORY_MONITOR_EXTENSION_POINT_NAME"><b>G_LOCAL_DIRECTORY_MONITOR_EXTENSION_POINT_NAME. </b>
95
95
        Allows to override the directory monitor implementation for 
96
96
        local files. Implementations of this extension point must be 
97
97
        derived from <span class="type">GLocalDirectoryMonitor</span>. GIO uses the implementation
101
101
        GIO uses this extension point internally, to switch between
102
102
        its fam-based and inotify-based directory monitoring implementations.
103
103
      </p>
104
 
<p><b>G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME. </b>
 
104
<p title="G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME"><b>G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME. </b>
105
105
        Unix-only. Allows to provide a way to associate default handlers
106
106
        with URI schemes. Implementations of this extension point must 
107
107
        implement the <a class="link" href="gio-Desktop-file-based-GAppInfo.html#GDesktopAppInfoLookup"><span class="type">GDesktopAppInfoLookup</span></a> interface. GIO uses the