Added OpenALPR version in constants. Incremented to 1.1.0

This commit is contained in:
Matt Hill
2014-04-20 12:57:52 -05:00
parent 5e234fe039
commit 0858369b09
6 changed files with 25 additions and 2 deletions

View File

@@ -352,3 +352,11 @@ void AlprImpl::setDefaultRegion(string region)
this->defaultRegion = region;
}
std::string AlprImpl::getVersion()
{
std::stringstream ss;
ss << OPENALPR_MAJOR_VERSION << "." << OPENALPR_MINOR_VERSION << "." << OPENALPR_PATCH_VERSION;
return ss.str();
}