mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com> * *.h: big header formatting cleanup: indentation, vtable formatting, consistent spacing in (* vfunc), trailing whitespace removal. Formatting should be pretty consistent in all GIO headers now. svn path=/trunk/; revision=7433
This commit is contained in:
committed by
Michael Natterer
parent
920f3bffb3
commit
f2a2d6c9ac
37
gio/gvfs.h
37
gio/gvfs.h
@@ -1,5 +1,5 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2006-2007 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -41,19 +41,20 @@ G_BEGIN_DECLS
|
||||
/**
|
||||
* G_VFS_EXTENSION_POINT_NAME:
|
||||
*
|
||||
* Extension point for #GVfs functionality.
|
||||
* Extension point for #GVfs functionality.
|
||||
* See <link linkend="extending-gio">Extending GIO</link>.
|
||||
*/
|
||||
#define G_VFS_EXTENSION_POINT_NAME "gio-vfs"
|
||||
|
||||
/**
|
||||
* GVfs:
|
||||
*
|
||||
*
|
||||
* Virtual File System object.
|
||||
**/
|
||||
typedef struct _GVfsClass GVfsClass;
|
||||
|
||||
struct _GVfs {
|
||||
struct _GVfs
|
||||
{
|
||||
GObject parent_instance;
|
||||
};
|
||||
|
||||
@@ -63,15 +64,14 @@ struct _GVfsClass
|
||||
|
||||
/* Virtual Table */
|
||||
|
||||
gboolean (*is_active) (GVfs *vfs);
|
||||
GFile *(*get_file_for_path) (GVfs *vfs,
|
||||
const char *path);
|
||||
GFile *(*get_file_for_uri) (GVfs *vfs,
|
||||
const char *uri);
|
||||
const gchar * const *(*get_supported_uri_schemes) (GVfs *vfs);
|
||||
GFile *(*parse_name) (GVfs *vfs,
|
||||
const char *parse_name);
|
||||
|
||||
gboolean (* is_active) (GVfs *vfs);
|
||||
GFile * (* get_file_for_path) (GVfs *vfs,
|
||||
const char *path);
|
||||
GFile * (* get_file_for_uri) (GVfs *vfs,
|
||||
const char *uri);
|
||||
const gchar * const * (* get_supported_uri_schemes) (GVfs *vfs);
|
||||
GFile * (* parse_name) (GVfs *vfs,
|
||||
const char *parse_name);
|
||||
|
||||
/*< private >*/
|
||||
/* Padding for future expansion */
|
||||
@@ -87,20 +87,19 @@ struct _GVfsClass
|
||||
void (*_g_reserved10) (void);
|
||||
void (*_g_reserved11) (void);
|
||||
void (*_g_reserved12) (void);
|
||||
|
||||
};
|
||||
|
||||
GType g_vfs_get_type (void) G_GNUC_CONST;
|
||||
GType g_vfs_get_type (void) G_GNUC_CONST;
|
||||
|
||||
gboolean g_vfs_is_active (GVfs *vfs);
|
||||
GFile * g_vfs_get_file_for_path (GVfs *vfs,
|
||||
const char *path);
|
||||
const char *path);
|
||||
GFile * g_vfs_get_file_for_uri (GVfs *vfs,
|
||||
const char *uri);
|
||||
const gchar* const * g_vfs_get_supported_uri_schemes (GVfs *vfs);
|
||||
const char *uri);
|
||||
const gchar* const * g_vfs_get_supported_uri_schemes (GVfs *vfs);
|
||||
|
||||
GFile * g_vfs_parse_name (GVfs *vfs,
|
||||
const char *parse_name);
|
||||
const char *parse_name);
|
||||
|
||||
GVfs * g_vfs_get_default (void);
|
||||
GVfs * g_vfs_get_local (void);
|
||||
|
Reference in New Issue
Block a user