OLD | NEW |
(Empty) | |
| 1 /* exif-mnote-data-fuji.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_FUJI_CONTENT_H__ |
| 22 #define __MNOTE_FUJI_CONTENT_H__ |
| 23 |
| 24 #include <libexif/exif-mnote-data.h> |
| 25 #include <libexif/exif-mnote-data-priv.h> |
| 26 #include <libexif/exif-data.h> |
| 27 #include <libexif/fuji/mnote-fuji-entry.h> |
| 28 |
| 29 typedef struct _ExifMnoteDataFuji ExifMnoteDataFuji; |
| 30 |
| 31 struct _ExifMnoteDataFuji { |
| 32 ExifMnoteData parent; |
| 33 |
| 34 MnoteFujiEntry *entries; |
| 35 unsigned int count; |
| 36 |
| 37 ExifByteOrder order; |
| 38 unsigned int offset; |
| 39 }; |
| 40 |
| 41 /*! Detect if MakerNote is recognized as one handled by the Fuji module. |
| 42 * |
| 43 * \param[in] ed image #ExifData to identify as as a Fuji type |
| 44 * \param[in] e #ExifEntry for EXIF_TAG_MAKER_NOTE, from within ed but |
| 45 * duplicated here for convenience |
| 46 * \return 0 if not recognized, nonzero if recognized. The specific nonzero |
| 47 * value returned may identify a subtype unique within this module. |
| 48 */ |
| 49 int exif_mnote_data_fuji_identify (const ExifData *ed, const ExifEntry *e); |
| 50 |
| 51 ExifMnoteData *exif_mnote_data_fuji_new (ExifMem *); |
| 52 |
| 53 #endif /* __MNOTE_FUJI_CONTENT_H__ */ |
OLD | NEW |