Mercurial > geeqie
diff src/typedefs.h @ 137:be3328a58875
started support for sidecar files like xmp, raw+jpeg etc.
author | nadvornik |
---|---|
date | Thu, 23 Aug 2007 20:45:59 +0000 |
parents | 9009856628f7 |
children | 71e1ebee420e |
line wrap: on
line diff
--- a/src/typedefs.h Mon Aug 20 20:11:32 2007 +0000 +++ b/src/typedefs.h Thu Aug 23 20:45:59 2007 +0000 @@ -81,6 +81,7 @@ typedef struct _ImageWindow ImageWindow; typedef struct _FileData FileData; +typedef struct _SidecarFileData SidecarFileData; typedef struct _LayoutWindow LayoutWindow; typedef struct _ViewDirList ViewDirList; @@ -330,12 +331,26 @@ #define FILEDATA_MARKS_SIZE 10 -struct _FileData { +struct _SidecarFileData { + gint type; gchar *path; const gchar *name; + const gchar *extension; gint64 size; time_t date; - gboolean marks[FILEDATA_MARKS_SIZE]; +}; + + +struct _FileData { + gint type; + gchar *path; + const gchar *name; + const gchar *extension; + gint64 size; + time_t date; + gboolean marks[FILEDATA_MARKS_SIZE]; + GList *sidecar_files; + gchar *target; /* for rename, move ... */ GdkPixbuf *pixbuf; }; @@ -389,7 +404,7 @@ GtkWidget *thumb_button; gint thumbs_enabled; - gint marks_enabled; + gint marks_enabled; /* dir view */