openMSX
Version.hh
Go to the documentation of this file.
1 #ifndef VERSION_HH
2 #define VERSION_HH
3 
4 #include <string>
5 
6 namespace openmsx {
7 
8 class Version
9 {
10 public:
11  // Defined by build system:
12  static const bool RELEASE;
13  static const char* const VERSION;
14  static const char* const REVISION;
15  static const char* const BUILD_FLAVOUR;
16 
17  // Computed using constants above:
18  static std::string full();
19 };
20 
21 } // namespace openmsx
22 
23 #endif
static const char *const VERSION
Definition: Version.hh:13
static const bool RELEASE
Definition: Version.hh:12
static const char *const BUILD_FLAVOUR
Definition: Version.hh:15
static const char *const REVISION
Definition: Version.hh:14
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
static std::string full()
Definition: Version.cc:8