MediaInfoXP/src/Config.h

58 lines
2.3 KiB
C
Raw Normal View History

2013-05-19 22:32:58 +02:00
///////////////////////////////////////////////////////////////////////////////
// MediaInfoXP
2018-04-13 19:27:27 +02:00
// Copyright (C) 2004-2018 LoRd_MuldeR <MuldeR2@GMX.de>
2013-05-19 22:32:58 +02:00
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
// http://www.gnu.org/licenses/gpl-2.0.txt
///////////////////////////////////////////////////////////////////////////////
2016-05-21 15:59:52 +02:00
#ifdef MIXP_CREATE_CONFIG
#define MIXP_DEFINE_CONF(X,Y,Z) extern const X g_##Y = Z;
#else
#define MIXP_DEFINE_CONF(X,Y,Z) extern const X g_##Y;
#endif
2013-05-19 22:32:58 +02:00
//Version
2016-05-21 15:59:52 +02:00
MIXP_DEFINE_CONF(unsigned int, mixp_versionMajor, 2)
MIXP_DEFINE_CONF(unsigned int, mixp_versionMinor, 31)
2013-05-19 22:32:58 +02:00
//MediaInfo Version
MIXP_DEFINE_CONF(unsigned int, mixp_mediaInfoVerMajor, 18)
MIXP_DEFINE_CONF(unsigned int, mixp_mediaInfoVerMinor, 8)
MIXP_DEFINE_CONF(unsigned int, mixp_mediaInfoVerPatch, 0)
//MediaInfo Checksum
MIXP_DEFINE_CONF(char*, mixp_checksum_gen, "0d9b8eaaa3eabb21921d6055f35c9df9d2bb70d0b4e110401b7e9192ad21aadeed210ccbc35076135ee4b408e1fb55c784ac10c56b25a3d7cf33bfd4c42566ed")
MIXP_DEFINE_CONF(char*, mixp_checksum_sse, "50e095e94c63dc47ea16fcf5567b8ea2ce856fa2177a3c2b6d978ffa7fb9c7bbf536cd2ac092e913e530cef2e810df9b87c43daf4399c70ff2bf4e22bca911b5")
MIXP_DEFINE_CONF(char*, mixp_checksum_x64, "be26a82cd0369e4f3b37b10e1b6ba89a7833acc02365397bcc690f21e271460b6b1cfa0ebca3857ccfbad44bc7273d5298840edfd4e5ea755acd177384ee3876")
2013-05-19 22:32:58 +02:00
//Build date
2016-05-21 15:59:52 +02:00
MIXP_DEFINE_CONF(char*, mixp_buildDate, __DATE__)
MIXP_DEFINE_CONF(char*, mixp_buildTime, __TIME__)
2013-05-19 22:32:58 +02:00
//Show console
#define MIXP_CONSOLE (0)
//Debug build
#if defined(_DEBUG) && defined(QT_DEBUG) && !defined(NDEBUG) && !defined(QT_NO_DEBUG)
#define MIXP_DEBUG (1)
#else
#define MIXP_DEBUG (0)
#endif
2016-05-21 15:59:52 +02:00
//Undefine
#undef MIXP_DEFINE_CONF