Commit 07526e70 authored by Matthias Clasen's avatar Matthias Clasen

Improve consistency of enumerations

svn path=/trunk/; revision=5979
parent 107ac2da
2007-11-28 Matthias Clasen <mclasen@redhat.com>
* gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2007-11-28 Alexander Larsson <alexl@redhat.com>
* Makefile.am:
......
......@@ -62,6 +62,7 @@ typedef enum {
/**
* GFileCopyFlags:
* @G_FILE_COPY_FLAGS_NONE: No flags set.
* @G_FILE_COPY_OVERWRITE: Overwrite any existing files
* @G_FILE_COPY_BACKUP: Make a backup of any existing files. TODO: explain backup naming scheme.
* @G_FILE_COPY_NOFOLLOW_SYMLINKS: Don't follow symlinks.
......@@ -70,6 +71,7 @@ typedef enum {
* Flags used when copying or moving files.
*/
typedef enum {
G_FILE_COPY_FLAGS_NONE = 0,
G_FILE_COPY_OVERWRITE = (1<<0),
G_FILE_COPY_BACKUP = (1<<1),
G_FILE_COPY_NOFOLLOW_SYMLINKS = (1<<2),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment