This commit is contained in:
2025-01-04 13:21:33 -04:00
parent dbbd3c477b
commit a1edf27e9e
2 changed files with 17 additions and 0 deletions
+3
View File
@@ -11,6 +11,9 @@ namespace hk {
class Mind
{
public:
void execute(void);
public:
std::thread directorThread;
std::thread simulatorThread;
+14
View File
@@ -1,8 +1,22 @@
#include <iostream>
#include <exception>
#include <mind.h>
int main(int argc, char **argv)
{
hk::Mind mind;
try {
std::cout <<PACKAGE_NAME <<" " <<PACKAGE_VERSION <<std::endl;
}
catch (const std::exception& e) {
std::cerr << "Exception occurred: " <<e.what() <<std::endl;
return EXIT_FAILURE;
}
catch (...) {
std::cerr << "Unknown exception occurred" <<std::endl;
return EXIT_FAILURE;
}
return 0;
}