X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fidentitytestmain.cpp;fp=src%2Fidentitytestmain.cpp;h=0000000000000000000000000000000000000000;hb=9048d8e482c91960265f29c2b5b3112f2a52f3d8;hp=21244df935ee65112dec62ffc539d2bfce8e1808;hpb=1b0c3b7f86935a772aad271bad4f3d1f37243c2d;p=fms.git diff --git a/src/identitytestmain.cpp b/src/identitytestmain.cpp deleted file mode 100644 index 21244df..0000000 --- a/src/identitytestmain.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "../include/identitytestglobal.h" -#include "../include/commandthread.h" - -#include - -#ifdef XMEM - #include -#endif - -int main() -{ - - #ifdef XMEM - xmem_disable_print(); - #endif - - std::vector threads; - - srand(time(NULL)); - - SetupDB(); - SetupDefaultOptions(); - - SetupLogFile(); - - SetupNetwork(); - - LogFile::instance()->WriteLog(LogFile::LOGLEVEL_INFO,"FMS startup v"FMS_VERSION); - - - StartThreads(threads); - - - ZThread::Thread commandthread(new CommandThread()); - commandthread.wait(); - - - ShutdownThreads(threads); - - ShutdownNetwork(); - - LogFile::instance()->WriteLog(LogFile::LOGLEVEL_INFO,"FMS shutdown"); - LogFile::instance()->WriteNewLine(); - - return 0; -}