version_hal.cpp/h: add methodes to get package data

This commit is contained in:
2018-12-31 11:17:26 +01:00
parent bc9eca8588
commit ed8e3743d5
5 changed files with 76 additions and 4 deletions

16
include/version_hal.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef __VERSION_HAL_H__
#define __VERSION_HAL_H__
#include <string>
std::string getPackageVersion();
int getPackageVersionMajor();
int getPackageVersionMinor();
int getPackageVersionMicro();
std::string getPackagenName();
std::string getPackageString();
std::string getPackageVersionGit();
#endif //__VERSION_HAL_H__