mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 08:22:08 +08:00
28 lines
435 B
C++
28 lines
435 B
C++
#include "x2tTester.h"
|
|
|
|
#ifdef LINUX
|
|
#include <unistd.h>
|
|
#include <sys/wait.h>
|
|
#include <stdio.h>
|
|
#endif
|
|
|
|
#ifdef WIN32
|
|
int wmain(int argc, wchar_t** argv)
|
|
#else
|
|
int main(int argc, char** argv)
|
|
#endif
|
|
{
|
|
std::wstring config_path;
|
|
|
|
if(argc < 2) config_path = L"./config.xml";
|
|
else config_path = std::wstring(argv[1]);
|
|
|
|
Cx2tTester tester = Cx2tTester(config_path);
|
|
tester.Start();
|
|
|
|
return 0;
|
|
}
|
|
// linux support
|
|
// multitask
|
|
// etc..
|