00001 00007 /* 00008 * Copyright (c) 2003, Matt Beard 00009 * 00010 * This software is provided 'as-is', without any express or implied warranty. 00011 * In no event will the authors be held liable for any damages arising from 00012 * the use of this software. 00013 * 00014 * Permission is granted to anyone to use this software for any purpose, 00015 * including commercial applications, and to alter it and redistribute it 00016 * freely, subject to the following restrictions: 00017 * 00018 * 1. The origin of this software must not be misrepresented; you must 00019 * not claim that you wrote the original software. If you use this 00020 * software in a product, an acknowledgment in the product 00021 * documentation would be appreciated but is not required. 00022 * 00023 * 2. Altered source versions must be plainly marked as such, and must 00024 * not be misrepresented as being the original software. 00025 * 00026 * 3. This notice may not be removed or altered from any source 00027 * distribution. 00028 */ 00029 00030 #ifndef MXFLIB__MXFLIB_H 00031 #define MXFLIB__MXFLIB_H 00032 00034 namespace mxflib {} 00035 00036 00038 #include <mxflib/system.h> 00039 00040 #include <mxflib/constants.h> 00041 00042 // Required std::headers 00043 00044 #include <list> 00045 #include <map> 00046 00047 00048 namespace mxflib 00049 { 00050 #define MXFLIB_VERSION_MAJOR "1" 00051 #define MXFLIB_VERSION_MINOR "0" 00052 #define MXFLIB_VERSION_TWEAK "0" 00053 #define MXFLIB_VERSION_BUILD "10" 00054 #define MXFLIB_VERSION_REL 1 00055 #define MXFLIB_VERSION_RELTEXT(REL) (REL==1?"-Release":(REL==2?"-Development":(REL==3?"-Patched":(REL==4?"-Beta":(REL==5?"-Private":""))))) 00056 #define MXFLIB_VERSION_RELNUMBER(REL) (REL==1?"1":(REL==2?"2":(REL==3?"3":(REL==4?"4":(REL==5?"5":"0"))))) 00057 00059 inline std::string LibraryName(void) { return std::string("MXFLib"); } 00060 00062 inline std::string LibraryVersion(void) 00063 { 00064 return std::string("MXFLib " MXFLIB_VERSION_MAJOR "." MXFLIB_VERSION_MINOR "." 00065 MXFLIB_VERSION_TWEAK "(" MXFLIB_VERSION_BUILD ")") 00066 + std::string( MXFLIB_VERSION_RELTEXT(MXFLIB_VERSION_REL) ); 00067 } 00068 00070 inline std::string LibraryProductVersion(void) 00071 { 00072 return std::string( "\"" MXFLIB_VERSION_MAJOR "\",\"" MXFLIB_VERSION_MINOR 00073 "\",\"" MXFLIB_VERSION_TWEAK "\",\"" MXFLIB_VERSION_BUILD "\",\"") 00074 + std::string( MXFLIB_VERSION_RELNUMBER(MXFLIB_VERSION_REL)) + std::string("\""); 00075 } 00076 } 00077 00079 #define UNUSED_PARAMETER(x) ( x=x ) 00080 00081 #include <mxflib/debug.h> 00082 00083 #include <mxflib/features.h> 00084 00085 #include <mxflib/smartptr.h> 00086 00087 #include <mxflib/endian.h> 00088 00089 #include <mxflib/types.h> 00090 00091 #include <mxflib/datachunk.h> 00092 00093 #include <mxflib/forward.h> 00094 00095 #include <mxflib/helper.h> 00096 00097 #include <mxflib/ulmap.h> 00098 00099 #include <mxflib/mdtraits.h> 00100 #include <mxflib/deftypes.h> 00101 #include <mxflib/mdtype.h> 00102 00103 #include <mxflib/mdobject.h> 00104 00105 #include <mxflib/metadata.h> 00106 00107 #include <mxflib/rip.h> 00108 00109 #include <mxflib/mxffile.h> 00110 00111 #include <mxflib/index.h> 00112 00113 #include <mxflib/essence.h> 00114 00115 #include <mxflib/klvobject.h> 00116 00117 #include <mxflib/crypto.h> 00118 00119 #include <mxflib/vbi.h> 00120 00121 #include <mxflib/sopsax.h> 00122 #include <mxflib/xmlparser.h> 00123 00124 #endif // MXFLIB__MXFLIB_H 00125