mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
vfs: add g_vfs_register_uri_scheme()
Add a new API to allow clients to register a custom GFile implementation handling a particular URI scheme. This can be useful for tests, but also for cases where a different URI scheme is desired to be used with another custom GFile backend. As an additional cleanup, we can use this to register the "resource" URI scheme too. Based on a patch by Jasper St. Pierre <jstpierre@mecheye.net>. https://bugzilla.gnome.org/show_bug.cgi?id=767887
This commit is contained in:
committed by
Cosimo Cecchi
parent
4442bf2c95
commit
375b4ca65c
@@ -42,6 +42,7 @@ g_async_initable_get_type
|
||||
<FILE>gvfs</FILE>
|
||||
<TITLE>GVfs</TITLE>
|
||||
GVfs
|
||||
GVfsFileLookupFunc
|
||||
G_VFS_EXTENSION_POINT_NAME
|
||||
g_vfs_get_file_for_path
|
||||
g_vfs_get_file_for_uri
|
||||
@@ -50,6 +51,8 @@ g_vfs_get_default
|
||||
g_vfs_get_local
|
||||
g_vfs_is_active
|
||||
g_vfs_get_supported_uri_schemes
|
||||
g_vfs_register_uri_scheme
|
||||
g_vfs_unregister_uri_scheme
|
||||
<SUBSECTION Standard>
|
||||
GVfsClass
|
||||
G_VFS
|
||||
|
Reference in New Issue
Block a user