23 lines
586 B
C
23 lines
586 B
C
#ifndef VERSION_H
|
|
#define VERSION_H
|
|
|
|
|
|
#define SCREWPOSITION_VERSION_STRING "1.0.0"
|
|
#define SCREWPOSITION_BUILD_STRING "1"
|
|
#define SCREWPOSITION_FULL_VERSION_STRING "V" SCREWPOSITION_VERSION_STRING "_" SCREWPOSITION_BUILD_STRING
|
|
|
|
// 获取版本信息的便捷函数
|
|
inline const char* GetScrewPositionVersion() {
|
|
return SCREWPOSITION_VERSION_STRING;
|
|
}
|
|
|
|
inline const char* GetScrewPositionBuild() {
|
|
return SCREWPOSITION_BUILD_STRING;
|
|
}
|
|
|
|
inline const char* GetScrewPositionFullVersion() {
|
|
return SCREWPOSITION_FULL_VERSION_STRING;
|
|
}
|
|
|
|
#endif // VERSION_H
|