Files
openE57/test_package/example.cpp
Michele Adduci bb7c260d13 Preparing version 1.6.3 (#31)
* Updated CRC Header

* Corrected recipe, changed test example

* Synchronized recipe with upstream one in conan-index-center

* Updated Changelog
2022-03-03 16:23:29 +00:00

20 lines
421 B
C++

#include <openE57/openE57.h>
#include <iostream>
using namespace e57;
using namespace std;
int main(int /*argc*/, char** /*argv*/)
{
E57Utilities utilities{};
int astmMajor{0};
int astmMinor{0};
ustring libraryId{};
utilities.getVersions(astmMajor, astmMinor, libraryId);
std::cout << "E57 Version: " << astmMajor << "." << astmMinor << " - Library ID: " << libraryId << std::endl;
return 0;
}