Improve consistency of enumerations

svn path=/trunk/; revision=5979
This commit is contained in:
Matthias Clasen 2007-11-28 18:38:53 +00:00
parent 107ac2da56
commit 07526e709a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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:

View File

@ -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),