summaryrefslogtreecommitdiffstats
path: root/xmrstak/version.hpp
blob: cdf82f30d0c2efe619c83e1a9f2ae8daf2d7a398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <inttypes.h>
#include <string>
#include "donate-level.hpp"

extern const char ver_long[];
extern const char ver_short[];
extern const char ver_html[];

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