xref: /haiku/src/add-ons/translators/jpeg/exif_parser.h (revision bc3955fea5b07e2e94a27fc05e4bb58fe6f0319b)
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 
12 class BMessage;
13 
14 
15 struct convert_tag {
16 	uint16		tag;
17 	type_code	type;
18 	const char*	name;
19 };
20 
21 status_t convert_exif_to_message(BPositionIO& source, BMessage& target);
22 status_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