openMSX
Version.cc
Go to the documentation of this file.
1
#include "
Version.hh
"
2
#include "
strCat.hh
"
3
4
namespace
openmsx
{
5
6
#include "Version.ii"
7
8
std::string
Version::full
()
9
{
10
std::string result =
strCat
(
"openMSX "
,
VERSION
);
11
if
constexpr
(!
RELEASE
)
strAppend
(result,
'-'
,
REVISION
);
12
return
result;
13
}
14
15
}
// namespace openmsx
Version.hh
openmsx::Version::full
static std::string full()
Definition
Version.cc:8
openmsx::Version::VERSION
static const char *const VERSION
Definition
Version.hh:13
openmsx::Version::RELEASE
static const bool RELEASE
Definition
Version.hh:12
openmsx::Version::REVISION
static const char *const REVISION
Definition
Version.hh:14
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
strCat.hh
strCat
std::string strCat()
Definition
strCat.hh:703
strAppend
void strAppend(std::string &result, Ts &&...ts)
Definition
strCat.hh:752
Generated on Thu Dec 19 2024 23:13:46 for openMSX by
1.9.8