[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: GIO API review
From: Mathias Hasselmann <mathias () taschenorakel ! de>
Date: 2007-12-13 16:58:52
Message-ID: 1197565132.7064.14.camel () localhost
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Am Donnerstag, den 13.12.2007, 17:31 +0100 schrieb Alexander Larsson:
>
> typedef enum {
> G_FILE_QUERY_INFO_FLAGS_NONE = 0,
> G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = (1<<0)
> }
>
> vs
>
> typedef enum {
> G_FILE_MONITOR_FLAGS_NONE = 0,
> G_FILE_MONITOR_FLAGS_MONITOR_MOUNTS = (1<<0)
> } GFileMonitorFlags;
>
> What do people think is the best approach here?
To my knowledge GTK+ would call them:
typedef enum { /*< flags >*/
G_FILE_QUERY_INFO_NONE = 0,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = (1<<0)
} GFileQueryInfoFlags;
and
typedef enum { /*< flags >*/
G_FILE_MONITOR_NONE = 0,
G_FILE_MONITOR_MONITOR_MOUNTS = (1<<0)
} GFileMonitorFlags;
A problem is the doublicate "monitor", so the second value should be
something like:
G_FILE_MONITOR_WATCH_MOUNTS
Ciao,
Mathias
--
Mathias Hasselmann <mathias@taschenorakel.de>
http://taschenorakel.de/
["signature.asc" (application/pgp-signature)]
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic