5 #ifndef FABCOIN_CLIENTVERSION_H 6 #define FABCOIN_CLIENTVERSION_H 8 #if defined(HAVE_CONFIG_H) 10 #endif //HAVE_CONFIG_H 13 #if !defined(CLIENT_VERSION_MAJOR) || !defined(CLIENT_VERSION_MINOR) || !defined(CLIENT_VERSION_REVISION) || !defined(CLIENT_VERSION_BUILD) || !defined(CLIENT_VERSION_IS_RELEASE) || !defined(COPYRIGHT_YEAR) 14 #error Client version information missing: version is not defined by fabcoin-config.h or in any other way 21 #define STRINGIZE(X) DO_STRINGIZE(X) 22 #define DO_STRINGIZE(X) #X 25 #define COPYRIGHT_STR STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL 33 #if !defined(WINDRES_PREPROC) 38 static const int CLIENT_VERSION =
49 std::string
FormatSubVersion(
const std::string&
name,
int nClientVersion,
const std::vector<std::string>& comments);
51 #endif // WINDRES_PREPROC 53 #endif // FABCOIN_CLIENTVERSION_H std::string FormatSubVersion(const std::string &name, int nClientVersion, const std::vector< std::string > &comments)
Format the subversion field according to BIP 14 spec (https://github.com/fabcoin/bips/blob/master/bip...
#define CLIENT_VERSION_MINOR
#define CLIENT_VERSION_REVISION
#define CLIENT_VERSION_MAJOR
std::string FormatFullVersion()
#define CLIENT_VERSION_BUILD
const std::string CLIENT_NAME
const std::string CLIENT_BUILD