You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
382 B
35 lines
382 B
3 years ago
|
#include <iostream>
|
||
|
|
||
|
#include "xvneng.h"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
int main (
|
||
|
int argc,
|
||
|
char* argv[]
|
||
|
)
|
||
|
{
|
||
|
string info = string ( version () );
|
||
|
|
||
|
try
|
||
|
{
|
||
|
load(false);
|
||
|
}
|
||
|
catch (const std::exception& e )
|
||
|
{
|
||
|
cout << e.what() << endl;
|
||
|
}
|
||
|
|
||
|
if ( info.length () )
|
||
|
{
|
||
|
cout << info.c_str () << endl;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
cout << "N/A" << endl;
|
||
|
}
|
||
|
|
||
|
(void) getchar ();
|
||
|
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|