#ifndef VERSION_H #define VERSION_H #define SCREWPOSITION_APP_NAME "螺杆定位" #define SCREWPOSITION_VERSION_STRING "1.1.5" #define SCREWPOSITION_BUILD_STRING "3" #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