/* * Authors : Kerem Yollu & Edwin Koch * Date : 07.03.2021 * * Description : * TODO : Write description or doxygene * */ #include #include "errorHandling.h" #include "commandManager.h" ErrorHandler errorHandle; CommandManager commander; int initPlatform() { // Dev. Module initialisation "Ex i2c_init() ...." return 0; } void dummy() { std::cout << "HElllooo from the the other side signed adele" << std::endl; } int main(int argc, char *argv[]) { // Init std::cout << "Main" << std::endl; //errorHandle.addNewError(-34,"Test eroor 1"); //errorHandle.handleError(-34); commander.addNewCommand("test", "The test command for testing the test", dummy); commander(argv[1]); return 1; }