2017-11-09 19:34:51 +01:00
|
|
|
/*
|
|
|
|
|
* This file is part of the Flowee project
|
|
|
|
|
* Copyright (C) 2009-2015 The Bitcoin Core developers
|
|
|
|
|
*
|
|
|
|
|
* 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 3 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, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
2014-08-28 22:26:56 +02:00
|
|
|
|
2018-01-16 10:47:52 +00:00
|
|
|
#ifndef FLOWEE_CLIENTVERSION_H
|
|
|
|
|
#define FLOWEE_CLIENTVERSION_H
|
2012-08-14 11:21:48 +02:00
|
|
|
|
2018-01-16 10:47:52 +00:00
|
|
|
#include "config/flowee-config.h"
|
2013-05-27 19:55:01 -04:00
|
|
|
|
2014-10-26 16:32:04 +08:00
|
|
|
/**
|
|
|
|
|
* Converts the parameter X to a string after macro replacement on X has been performed.
|
|
|
|
|
* Don't merge these into one macro!
|
|
|
|
|
*/
|
2012-08-14 11:21:48 +02:00
|
|
|
#define STRINGIZE(X) DO_STRINGIZE(X)
|
|
|
|
|
#define DO_STRINGIZE(X) #X
|
|
|
|
|
|
2014-10-26 16:32:04 +08:00
|
|
|
//! Copyright string used in Windows .rc files
|
2018-10-30 10:38:50 +01:00
|
|
|
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Flowee Developers"
|
2014-06-27 14:51:46 +02:00
|
|
|
|
2014-10-26 16:32:04 +08:00
|
|
|
/**
|
|
|
|
|
* bitcoind-res.rc includes this file, but it cannot cope with real c++ code.
|
|
|
|
|
* WINDRES_PREPROC is defined to indicate that its pre-processor is running.
|
|
|
|
|
* Anything other than a define should be guarded below.
|
|
|
|
|
*/
|
2014-10-28 21:33:23 -04:00
|
|
|
|
|
|
|
|
#if !defined(WINDRES_PREPROC)
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
static const int CLIENT_VERSION =
|
2018-10-30 10:38:50 +01:00
|
|
|
10000 * CLIENT_VERSION_MAJOR
|
|
|
|
|
+ 1000 * CLIENT_VERSION_MINOR
|
|
|
|
|
+ 1 * CLIENT_VERSION_REVISION;
|
2014-10-28 21:33:23 -04:00
|
|
|
|
|
|
|
|
extern const std::string CLIENT_BUILD;
|
|
|
|
|
extern const std::string CLIENT_DATE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::string FormatFullVersion();
|
|
|
|
|
|
|
|
|
|
#endif // WINDRES_PREPROC
|
|
|
|
|
|
2018-01-16 10:47:52 +00:00
|
|
|
#endif
|