1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#pragma once #include <inttypes.h> #include <string> #include "donate-level.hpp" extern const char ver_long[]; extern const char ver_short[]; inline std::string get_version_str() { return std::string(ver_long) + std::to_string(uint32_t(fDevDonationLevel * 1000)) ; } inline std::string get_version_str_short() { return std::string(ver_short); }