1/* 2 * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef EXIF_PARSER_H 6#define EXIF_PARSER_H 7 8 9#include <DataIO.h> 10#include <TypeConstants.h> 11 12class BMessage; 13 14 15struct convert_tag { 16 uint16 tag; 17 type_code type; 18 const char* name; 19}; 20 21status_t convert_exif_to_message(BPositionIO& source, BMessage& target); 22status_t convert_exif_to_message_etc(BPositionIO& source, BMessage& target, 23 const convert_tag* tags, size_t tagCount); 24 25#endif // EXIF_PARSER_H 26