Mercurial > geeqie.yaz
view src/filelist.h @ 101:847e4bc6b54c
Tue Nov 7 15:35:59 2006 John Ellis <johne@verizon.net>
* exif.c: Use new format_raw_exif_offset() function to find Exif in
raw files.
* filelist.c: Add orf and pef to displayed file types.
* format_canon.h, format_fuji.h: Update to new #define format.
* format_fuji.c: Use same offset for Exif as the jpeg image as the
Exif is always embedded in the jpeg and assuming offset of 12 is
just broken.
* format_nikon.h: Update to new #define format, and add pentax here
as finding the jpeg will be same code.
* format_olympus.[ch]: Support Olympus raw files with embedded jpegs,
not all raw files will have a jpeg, but all appear to have Exif tags.
* format_raw.[ch]: Add new camera types, and add a debugging facility
to easily list all tags within tiff files (see format_raw.h to enable).
author | gqview |
---|---|
date | Tue, 07 Nov 2006 21:00:50 +0000 |
parents | d907d608745f |
children | 71e1ebee420e |
line wrap: on
line source
/* * GQview * (C) 2004 John Ellis * * Author: John Ellis * * This software is released under the GNU General Public License (GNU GPL). * Please read the included file COPYING for more information. * This software comes with no warranty of any kind, use at your own risk! */ #ifndef FILELIST_H #define FILELIST_H typedef struct _FilterEntry FilterEntry; struct _FilterEntry { gchar *key; gchar *description; gchar *extensions; gint enabled; }; /* you can change, but not add or remove entries from the returned list */ GList *filter_get_list(void); void filter_remove_entry(FilterEntry *fe); void filter_add(const gchar *key, const gchar *description, const gchar *extensions, gint enabled); void filter_add_unique(const gchar *description, const gchar *extensions, gint enabled); void filter_add_defaults(void); void filter_reset(void); void filter_rebuild(void); gint filter_name_exists(const gchar *name); void filter_write_list(FILE *f); void filter_parse(const gchar *text); gint ishidden(const gchar *name); GList *path_list_filter(GList *list, gint is_dir_list); GList *path_list_sort(GList *list); GList *path_list_recursive(const gchar *path); gchar *text_from_size(gint64 size); gchar *text_from_size_abrev(gint64 size); const gchar *text_from_time(time_t t); /* this expects a locale encoded path */ FileData *file_data_new(const gchar *path, struct stat *st); /* this expects a utf-8 path */ FileData *file_data_new_simple(const gchar *path); void file_data_free(FileData *fd); GList *filelist_sort(GList *list, SortType method, gint ascend); GList *filelist_insert_sort(GList *list, FileData *fd, SortType method, gint ascend); gint filelist_read(const gchar *path, GList **files, GList **dirs); void filelist_free(GList *list); #endif