Mercurial > geeqie.yaz
annotate src/format_olympus.h @ 1199:404168a124aa
Display error dialog with appropriate message when user is trying to open an invalid collection file.
author | zas_ |
---|---|
date | Mon, 08 Dec 2008 21:34:32 +0000 |
parents | 1646720364cf |
children | 8b89e3ff286b |
rev | line source |
---|---|
57 | 1 /* |
541 | 2 * Geeqie |
3 * (C) 2005 John Ellis | |
475 | 4 * Copyright (C) 2008 The Geeqie Team |
57 | 5 * |
6 * This software is released under the GNU General Public License (GNU GPL). | |
7 * Please read the included file COPYING for more information. | |
8 * This software comes with no warranty of any kind, use at your own risk! | |
9 */ | |
10 | |
11 #ifndef __FORMAT_OLYMPUS_H | |
12 #define __FORMAT_OLYMPUS_H | |
13 | |
14 | |
176
695e1ad3b169
simplified exif.h, moved implementation-specific stuff to exif-int.h
nadvornik
parents:
101
diff
changeset
|
15 #include "exif-int.h" |
57 | 16 |
17 | |
1000
4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
zas_
parents:
541
diff
changeset
|
18 gint format_olympus_raw(guchar *data, const guint len, |
57 | 19 guint *image_offset, guint *exif_offset); |
20 | |
21 | |
22 #define FORMAT_RAW_OLYMPUS { "orf", \ | |
101
847e4bc6b54c
Tue Nov 7 15:35:59 2006 John Ellis <johne@verizon.net>
gqview
parents:
57
diff
changeset
|
23 FORMAT_RAW_MATCH_MAGIC, 0, "IIR", 3, \ |
847e4bc6b54c
Tue Nov 7 15:35:59 2006 John Ellis <johne@verizon.net>
gqview
parents:
57
diff
changeset
|
24 FORMAT_RAW_EXIF_IFD_II, NULL, \ |
57 | 25 "Olympus raw", format_olympus_raw } |
26 | |
27 | |
1000
4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
zas_
parents:
541
diff
changeset
|
28 gint format_olympus_makernote(ExifData *exif, guchar *tiff, guint offset, |
57 | 29 guint size, ExifByteOrder bo); |
30 | |
31 #define FORMAT_EXIF_OLYMPUS { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x01", 7, \ | |
32 "Olympus", format_olympus_makernote }, \ | |
33 { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x02", 7, \ | |
34 "Olympus", format_olympus_makernote } | |
35 | |
36 | |
37 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
1000
diff
changeset
|
38 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |