1/* mnote-olympus-data.h
2 *
3 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA  02110-1301  USA.
19 */
20
21#ifndef __MNOTE_OLYMPUS_CONTENT_H__
22#define __MNOTE_OLYMPUS_CONTENT_H__
23
24#include <libexif/exif-mnote-data-priv.h>
25#include <libexif/olympus/mnote-olympus-entry.h>
26#include <libexif/exif-byte-order.h>
27#include <libexif/exif-mem.h>
28
29enum OlympusVersion {
30	nikonV1 = 1,
31	nikonV2 = 2,
32	olympusV1 = 3,
33	olympusV2 = 4,
34	sanyoV1 = 5,
35	epsonV1 = 6
36};
37
38
39typedef struct _ExifMnoteDataOlympus ExifMnoteDataOlympus;
40
41struct _ExifMnoteDataOlympus {
42	ExifMnoteData parent;
43
44	MnoteOlympusEntry *entries;
45	unsigned int count;
46
47	ExifByteOrder order;
48	unsigned int offset;
49	/* 0: Olympus; 1: Nikon v1; 2: Nikon v2 */
50	int version;
51};
52
53ExifMnoteData *exif_mnote_data_olympus_new (ExifMem *);
54
55#endif /* __MNOTE_OLYMPUS_CONTENT_H__ */
56