00001 /**************************************************************************** 00002 ** libebml : parse EBML files, see http://embl.sourceforge.net/ 00003 ** 00004 ** <file/class description> 00005 ** 00006 ** Copyright (C) 2002-2004 Steve Lhomme. All rights reserved. 00007 ** 00008 ** This file is part of libebml. 00009 ** 00010 ** This library is free software; you can redistribute it and/or 00011 ** modify it under the terms of the GNU Lesser General Public 00012 ** License as published by the Free Software Foundation; either 00013 ** version 2.1 of the License, or (at your option) any later version. 00014 ** 00015 ** This library is distributed in the hope that it will be useful, 00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 ** Lesser General Public License for more details. 00019 ** 00020 ** You should have received a copy of the GNU Lesser General Public 00021 ** License along with this library; if not, write to the Free Software 00022 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00023 ** 00024 ** See http://www.matroska.org/license/lgpl/ for LGPL licensing information. 00025 ** 00026 ** Contact license@matroska.org if any conditions of this licensing are 00027 ** not clear to you. 00028 ** 00029 **********************************************************************/ 00030 00036 #ifndef LIBEBML_CONTEXTS_H 00037 #define LIBEBML_CONTEXTS_H 00038 00039 #include "EbmlTypes.h" 00040 #include "EbmlElement.h" 00041 00042 START_LIBEBML_NAMESPACE 00043 00044 extern const EbmlSemanticContext EBML_DLL_API EbmlHead_Context; 00045 extern const EbmlSemanticContext EBML_DLL_API EVersion_Context; 00046 extern const EbmlSemanticContext EBML_DLL_API EReadVersion_Context; 00047 extern const EbmlSemanticContext EBML_DLL_API EMaxIdLength_Context; 00048 extern const EbmlSemanticContext EBML_DLL_API EMaxSizeLength_Context; 00049 extern const EbmlSemanticContext EBML_DLL_API EDocType_Context; 00050 extern const EbmlSemanticContext EBML_DLL_API EDocTypeVersion_Context; 00051 extern const EbmlSemanticContext EBML_DLL_API EDocTypeReadVersion_Context; 00052 00053 #define Context_EbmlHead EbmlHead_Context 00054 00055 // global elements 00056 extern const EbmlSemanticContext EBML_DLL_API & GetEbmlGlobal_Context(); 00057 00058 END_LIBEBML_NAMESPACE 00059 00060 #endif // LIBEBML_CONTEXTS_H