File: RIFF_Support.hpp

package info (click to toggle)
exempi 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,276 kB
  • sloc: cpp: 49,877; sh: 10,986; makefile: 272; ansic: 93
file content (42 lines) | stat: -rw-r--r-- 1,390 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef __RIFF_Support_hpp__
#define __RIFF_Support_hpp__ 1

// =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2009 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.
// =================================================================================================

#include "XMP_Environment.h"	// ! This must be the first include.
#include <vector>
#include "XMPFiles_Impl.hpp"

// ahead declaration:
class RIFF_MetaHandler;

namespace RIFF {

	// declare ahead
	class Chunk;
	class ContainerChunk;
	class ValueChunk;
	class XMPChunk;
	
	/* This rountines imports the properties found into the 
		xmp packet. Use after parsing. */
	void importProperties( RIFF_MetaHandler* handler );

	/* This rountines exports XMP properties to the respective Chunks,
	   creating those if needed. No writing to file here. */
	void exportAndRemoveProperties( RIFF_MetaHandler* handler );

	/* will relocated a wrongly placed  chunk (one of XMP, LIST:Info, LIST:Tdat=
	   from RIFF::avix back to main chunk. Chunk itself not touched. */
	void relocateWronglyPlacedXMPChunk( RIFF_MetaHandler* handler );

} // namespace RIFF

#endif	// __RIFF_Support_hpp__