Mercurial > geeqie
diff src/typedefs.h @ 1432:cf4029d10d38
improved notification system
author | nadvornik |
---|---|
date | Sat, 14 Mar 2009 17:21:35 +0000 |
parents | 7e180091e0b7 |
children | b4ad1d201279 |
line wrap: on
line diff
--- a/src/typedefs.h Sat Mar 14 11:26:43 2009 +0000 +++ b/src/typedefs.h Sat Mar 14 17:21:35 2009 +0000 @@ -142,9 +142,14 @@ } NotifyPriority; typedef enum { - NOTIFY_TYPE_INTERNAL = 0, /* changed internal data only, like marks */ - NOTIFY_TYPE_REREAD, /* changed file size, date, etc., file name remains unchanged */ - NOTIFY_TYPE_CHANGE /* generic change described by fd->change */ + NOTIFY_MARKS = 1 << 1, /* changed marks */ + NOTIFY_PIXBUF = 1 << 2, /* image was read into fd->pixbuf */ + NOTIFY_HISTMAP = 1 << 3, /* histmap was read into fd->histmap */ + NOTIFY_ORIENTATION = 1 << 4, /* image was rotated */ + NOTIFY_METADATA = 1 << 5, /* changed image metadata, not yet written */ + NOTIFY_GROUPING = 1 << 6, /* change in fd->sidecar_files or fd->parent */ + NOTIFY_REREAD = 1 << 7, /* changed file size, date, etc., file name remains unchanged */ + NOTIFY_CHANGE = 1 << 8 /* generic change described by fd->change */ } NotifyType; typedef enum {