qtrocket/main.cpp
2023-05-18 19:58:34 -06:00

26 lines
557 B
C++

/// \cond
// C headers
// C++ headers
// 3rd party headers
/// \endcond
#include "QtRocket.h"
#include "utils/Logger.h"
int main(int argc, char *argv[])
{
// Instantiate logger
utils::Logger* logger = utils::Logger::getInstance();
logger->setLogLevel(utils::Logger::DEBUG_);
// instantiate QtRocket
QtRocket* qtrocket = QtRocket::getInstance();
// Run QtRocket. This'll start the GUI thread and block until the user
// exits the program
int retVal = qtrocket->run(argc, argv);
logger->debug("Returning");
return retVal;
}