diff options
author | Michael Natterer <mitch@imendio.com> | 2008-09-02 19:05:58 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-09-02 19:05:58 +0000 |
commit | f2a2d6c9ac2d98b565005d446fde01aac47f7d88 (patch) | |
tree | cab413fc45895fea6975eca1523e758b18d2d2d3 /gio/gfileoutputstream.h | |
parent | 920f3bffb31a60bcb5379c40efa3f648de79e15d (diff) |
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
Diffstat (limited to 'gio/gfileoutputstream.h')
-rw-r--r-- | gio/gfileoutputstream.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/gio/gfileoutputstream.h b/gio/gfileoutputstream.h index a3fe4441d..aa287f46a 100644 --- a/gio/gfileoutputstream.h +++ b/gio/gfileoutputstream.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 @@ -52,7 +52,7 @@ typedef struct _GFileOutputStreamPrivate GFileOutputStreamPrivate; struct _GFileOutputStream { GOutputStream parent_instance; - + /*< private >*/ GFileOutputStreamPrivate *priv; }; @@ -61,33 +61,33 @@ struct _GFileOutputStreamClass { GOutputStreamClass parent_class; - goffset (*tell) (GFileOutputStream *stream); - gboolean (*can_seek) (GFileOutputStream *stream); - gboolean (*seek) (GFileOutputStream *stream, - goffset offset, - GSeekType type, - GCancellable *cancellable, - GError **error); - gboolean (*can_truncate) (GFileOutputStream *stream); - gboolean (*truncate_fn) (GFileOutputStream *stream, - goffset size, - GCancellable *cancellable, - GError **error); - GFileInfo *(*query_info) (GFileOutputStream *stream, - char *attributes, - GCancellable *cancellable, - GError **error); - void (*query_info_async) (GFileOutputStream *stream, - char *attributes, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileInfo *(*query_info_finish) (GFileOutputStream *stream, - GAsyncResult *res, - GError **error); - char *(*get_etag) (GFileOutputStream *stream); - + goffset (* tell) (GFileOutputStream *stream); + gboolean (* can_seek) (GFileOutputStream *stream); + gboolean (* seek) (GFileOutputStream *stream, + goffset offset, + GSeekType type, + GCancellable *cancellable, + GError **error); + gboolean (* can_truncate) (GFileOutputStream *stream); + gboolean (* truncate_fn) (GFileOutputStream *stream, + goffset size, + GCancellable *cancellable, + GError **error); + GFileInfo * (* query_info) (GFileOutputStream *stream, + char *attributes, + GCancellable *cancellable, + GError **error); + void (* query_info_async) (GFileOutputStream *stream, + char *attributes, + int io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + GFileInfo * (* query_info_finish) (GFileOutputStream *stream, + GAsyncResult *res, + GError **error); + char * (* get_etag) (GFileOutputStream *stream); + /* Padding for future expansion */ void (*_g_reserved1) (void); void (*_g_reserved2) (void); @@ -96,23 +96,23 @@ struct _GFileOutputStreamClass void (*_g_reserved5) (void); }; -GType g_file_output_stream_get_type (void) G_GNUC_CONST; +GType g_file_output_stream_get_type (void) G_GNUC_CONST; -GFileInfo *g_file_output_stream_query_info (GFileOutputStream *stream, - char *attributes, - GCancellable *cancellable, - GError **error); -void g_file_output_stream_query_info_async (GFileOutputStream *stream, +GFileInfo *g_file_output_stream_query_info (GFileOutputStream *stream, + char *attributes, + GCancellable *cancellable, + GError **error); +void g_file_output_stream_query_info_async (GFileOutputStream *stream, char *attributes, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); -GFileInfo *g_file_output_stream_query_info_finish (GFileOutputStream *stream, +GFileInfo *g_file_output_stream_query_info_finish (GFileOutputStream *stream, GAsyncResult *result, GError **error); -char * g_file_output_stream_get_etag (GFileOutputStream *stream); +char * g_file_output_stream_get_etag (GFileOutputStream *stream); G_END_DECLS |