2015-04-03 12:02:14 -06:00
|
|
|
#pragma once
|
2015-04-02 14:37:58 -06:00
|
|
|
namespace DFHack {
|
|
|
|
namespace Version {
|
|
|
|
const char *dfhack_version();
|
|
|
|
const char *df_version();
|
|
|
|
const char *dfhack_release();
|
2015-06-24 17:32:45 -06:00
|
|
|
const char *git_description();
|
2015-08-06 15:30:51 -06:00
|
|
|
const char *git_commit();
|
2015-04-02 14:37:58 -06:00
|
|
|
}
|
|
|
|
}
|
2015-08-06 15:30:51 -06:00
|
|
|
|
|
|
|
#ifndef NO_DFHACK_VERSION_MACROS
|
|
|
|
#define DF_VERSION DFHack::Version::df_version()
|
|
|
|
#define DFHACK_RELEASE DFHack::Version::dfhack_release()
|
|
|
|
#define DFHACK_VERSION DFHack::Version::dfhack_version()
|
|
|
|
#define DFHACK_GIT_DESCRIPTION DFHack::Version::git_description()
|
|
|
|
#define DFHACK_GIT_COMMIT DFHack::Version::git_commit()
|
|
|
|
#endif
|