3rdparty/licenseReport: Add seperate LGPL checks
[haiku.git] / src / add-ons / media / plugins / matroska / libebml / EbmlHead.cpp
blob5e36dbab58fda26a969bdfd5c3e95c11f1798b02
1 /****************************************************************************
2 ** libebml : parse EBML files, see http://embl.sourceforge.net/
3 **
4 ** <file/class description>
5 **
6 ** Copyright (C) 2002-2004 Steve Lhomme. All rights reserved.
7 **
8 ** This file is part of libebml.
9 **
10 ** This library is free software; you can redistribute it and/or
11 ** modify it under the terms of the GNU Lesser General Public
12 ** License as published by the Free Software Foundation; either
13 ** version 2.1 of the License, or (at your option) any later version.
14 **
15 ** This library is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ** Lesser General Public License for more details.
19 **
20 ** You should have received a copy of the GNU Lesser General Public
21 ** License along with this library; if not, write to the Free Software
22 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 ** See http://www.matroska.org/license/lgpl/ for LGPL licensing information.
26 ** Contact license@matroska.org if any conditions of this licensing are
27 ** not clear to you.
29 **********************************************************************/
31 /*!
32 \file
33 \version \$Id: EbmlHead.cpp 1096 2005-03-17 09:14:52Z robux4 $
34 \author Steve Lhomme <robux4 @ users.sf.net>
36 #include "ebml/EbmlHead.h"
37 #include "ebml/EbmlSubHead.h"
38 #include "ebml/EbmlContexts.h"
40 START_LIBEBML_NAMESPACE
42 const EbmlSemantic EbmlHead_ContextList[] =
44 EbmlSemantic(true, true, EVersion::ClassInfos), ///< EBMLVersion
45 EbmlSemantic(true, true, EReadVersion::ClassInfos), ///< EBMLReadVersion
46 EbmlSemantic(true, true, EMaxIdLength::ClassInfos), ///< EBMLMaxIdLength
47 EbmlSemantic(true, true, EMaxSizeLength::ClassInfos), ///< EBMLMaxSizeLength
48 EbmlSemantic(true, true, EDocType::ClassInfos), ///< DocType
49 EbmlSemantic(true, true, EDocTypeVersion::ClassInfos), ///< DocTypeVersion
50 EbmlSemantic(true, true, EDocTypeReadVersion::ClassInfos), ///< DocTypeReadVersion
53 const EbmlSemanticContext EbmlHead_Context = EbmlSemanticContext(countof(EbmlHead_ContextList), EbmlHead_ContextList, NULL, *GetEbmlGlobal_Context, &EbmlHead::ClassInfos);
55 EbmlId EbmlHead_TheId(0x1A45DFA3, 4);
56 const EbmlCallbacks EbmlHead::ClassInfos(EbmlHead::Create, EbmlHead_TheId, "EBMLHead\0ratamapaga", EbmlHead_Context);
58 EbmlHead::EbmlHead()
59 :EbmlMaster(EbmlHead_Context)
62 END_LIBEBML_NAMESPACE