X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fglocalfileenumerator.h;h=c718799f085dcb51403ef789c1202420d4bc2e36;hb=25990eb2b6da94e1d03631eab8a952ef84cb9986;hp=67b49ed6989d06af73adc7b6383cb99cb23dc1d6;hpb=3781343738de4abddf56982325a77bd70a98cd26;p=platform%2Fupstream%2Fglib.git diff --git a/gio/glocalfileenumerator.h b/gio/glocalfileenumerator.h index 67b49ed..c718799 100644 --- a/gio/glocalfileenumerator.h +++ b/gio/glocalfileenumerator.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 @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: Alexander Larsson */ @@ -24,12 +22,11 @@ #define __G_LOCAL_FILE_ENUMERATOR_H__ #include -#include -#include +#include G_BEGIN_DECLS -#define G_TYPE_LOCAL_FILE_ENUMERATOR (g_local_file_enumerator_get_type ()) +#define G_TYPE_LOCAL_FILE_ENUMERATOR (_g_local_file_enumerator_get_type ()) #define G_LOCAL_FILE_ENUMERATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_LOCAL_FILE_ENUMERATOR, GLocalFileEnumerator)) #define G_LOCAL_FILE_ENUMERATOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_LOCAL_FILE_ENUMERATOR, GLocalFileEnumeratorClass)) #define G_IS_LOCAL_FILE_ENUMERATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_LOCAL_FILE_ENUMERATOR)) @@ -40,20 +37,18 @@ typedef struct _GLocalFileEnumerator GLocalFileEnumerator; typedef struct _GLocalFileEnumeratorClass GLocalFileEnumeratorClass; typedef struct _GLocalFileEnumeratorPrivate GLocalFileEnumeratorPrivate; - struct _GLocalFileEnumeratorClass { GFileEnumeratorClass parent_class; - }; -GType g_local_file_enumerator_get_type (void) G_GNUC_CONST; +GType _g_local_file_enumerator_get_type (void) G_GNUC_CONST; -GFileEnumerator *g_local_file_enumerator_new (const char *filename, - const char *attributes, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); +GFileEnumerator * _g_local_file_enumerator_new (GLocalFile *file, + const char *attributes, + GFileQueryInfoFlags flags, + GCancellable *cancellable, + GError **error); G_END_DECLS