docs: various small fixes
[platform/upstream/glib.git] / gio / glocalfileenumerator.h
index 67b49ed..c718799 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  *
  * Author: Alexander Larsson <alexl@redhat.com>
  */
 #define __G_LOCAL_FILE_ENUMERATOR_H__
 
 #include <gfileenumerator.h>
-#include <gfileinfo.h>
-#include <gfile.h>
+#include <glocalfile.h>
 
 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