MP4v2
generic.h
1
2//
3// The contents of this file are subject to the Mozilla Public License
4// Version 1.1 (the "License"); you may not use this file except in
5// compliance with the License. You may obtain a copy of the License at
6// http://www.mozilla.org/MPL/
7//
8// Software distributed under the License is distributed on an "AS IS"
9// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
10// License for the specific language governing rights and limitations
11// under the License.
12//
13// The Original Code is MP4v2.
14//
15// The Initial Developer of the Original Code is Kona Blend.
16// Portions created by Kona Blend are Copyright (C) 2008.
17// All Rights Reserved.
18//
19// Contributors:
20// KonaBlend, kona8lend@gmail.com
21//
23
24#ifndef MP4V2_IMPL_ITMF_GENERIC_H
25#define MP4V2_IMPL_ITMF_GENERIC_H
26
27namespace mp4v2 { namespace impl { namespace itmf {
28
30
32genericItemAlloc( const string& code, uint32_t numData );
33
34void
35genericItemFree( MP4ItmfItem* item );
36
37void
38genericItemListFree( MP4ItmfItemList* list );
39
41
43genericGetItems( MP4File& file );
44
46genericGetItemsByCode( MP4File& file, const string& code );
47
49genericGetItemsByMeaning( MP4File& file, const string& meaning, const string& name );
50
52
53bool
54genericAddItem( MP4File& file, const MP4ItmfItem* item );
55
56bool
57genericSetItem( MP4File& file, const MP4ItmfItem* item );
58
59bool
60genericRemoveItem( MP4File& file, const MP4ItmfItem* item );
61
63
64}}} // namespace mp4v2::impl::itmf
65
66#endif // MP4V2_IMPL_ITMF_GENERIC_H
Item structure.
Definition: itmf_generic.h:120
List of items.
Definition: itmf_generic.h:131