00001 /* exif-mnote-data-pentax.h 00002 * 00003 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net> 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the 00017 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301 USA. 00019 */ 00020 00021 #ifndef __EXIF_MNOTE_DATA_PENTAX_H__ 00022 #define __EXIF_MNOTE_DATA_PENTAX_H__ 00023 00024 #include <libexif/exif-byte-order.h> 00025 #include <libexif/exif-mnote-data.h> 00026 #include <libexif/exif-mnote-data-priv.h> 00027 #include <libexif/pentax/mnote-pentax-entry.h> 00028 #include <libexif/exif-data.h> 00029 #include <libexif/exif-mem.h> 00030 00031 enum PentaxVersion {pentaxV1 = 1, pentaxV2 = 2, pentaxV3 = 3, casioV2 = 4 }; 00032 00033 typedef struct _ExifMnoteDataPentax ExifMnoteDataPentax; 00034 00035 struct _ExifMnoteDataPentax { 00036 ExifMnoteData parent; 00037 00038 MnotePentaxEntry *entries; 00039 unsigned int count; 00040 00041 ExifByteOrder order; 00042 unsigned int offset; 00043 00044 enum PentaxVersion version; 00045 }; 00046 00055 int exif_mnote_data_pentax_identify (const ExifData *ed, const ExifEntry *e); 00056 00057 ExifMnoteData *exif_mnote_data_pentax_new (ExifMem *); 00058 00059 #endif /* __EXIF_MNOTE_DATA_PENTAX_H__ */