26 lines
397 B
C++
26 lines
397 B
C++
#ifndef __APPVERSION_H__
|
|
#define __APPVERSION_H__
|
|
|
|
#include <string>
|
|
|
|
namespace Application {
|
|
|
|
#ifndef APP_VERSION
|
|
#define APP_VERSION "0.0.0"
|
|
#endif
|
|
|
|
#ifndef APPLICATION_NAME
|
|
#define APPLICATION_NAME "app"
|
|
#endif
|
|
|
|
inline std::string version(){
|
|
return std::string(APP_VERSION);
|
|
}
|
|
|
|
inline std::string name(){
|
|
return std::string(APPLICATION_NAME);
|
|
}
|
|
|
|
}
|
|
|
|
#endif // __APPVERSION_H__
|