summaryrefslogtreecommitdiffstats
path: root/xmrstak/version.hpp
blob: 2bf38d58822a74bae3133e26c06e6f1652386f58 (plain)
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);
}
OpenPOWER on IntegriCloud