3626185a4ed1877675bf467ee12781a62ef76166
[platform/upstream/libexif.git] / libexif / samsung / exif-mnote-data-samsung.h
1 /*
2  * libexif
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Sangchul Lee <sc11.lee@samsung.com>
7  *
8  * This library is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License as published by the
10  * Free Software Foundation; either version 2.1 of the License, or (at your option)
11  * any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; if not, write to the Free Software Foundation, Inc., 51
20  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  */
23
24 #ifndef __EXIF_MNOTE_DATA_SAMSUNG_H__
25 #define __EXIF_MNOTE_DATA_SAMSUNG_H__
26
27 #include <libexif/exif-byte-order.h>
28 #include <libexif/exif-mnote-data.h>
29 #include <libexif/exif-mnote-data-priv.h>
30 #include <libexif/samsung/mnote-samsung-entry.h>
31 #include <libexif/exif-mem.h>
32 #include <libexif/exif-data.h>
33
34 typedef struct _ExifMnoteDataSamsung ExifMnoteDataSamsung;
35
36 struct _ExifMnoteDataSamsung {
37         ExifMnoteData parent;
38
39         MnoteSamsungEntry *entries;
40         unsigned int count;
41
42         ExifByteOrder order;
43         unsigned int offset;
44
45     ExifDataOption options;
46 };
47
48 int exif_mnote_data_samsung_identify (const ExifData *ed, const ExifEntry *e);
49 ExifMnoteData *exif_mnote_data_samsung_new (ExifMem *mem);
50
51 #endif /* __EXIF_MNOTE_DATA_SAMSUNG_H__ */