04.07.2022

This commit is contained in:
Plotnikov
2022-07-04 13:15:35 +03:00
parent 5fad2bcf6b
commit 696daa0b2e
7224 changed files with 3814576 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#include "editormainwindow.h"
#include "console.h"
#include <QApplication>
#ifdef _WIN32
#include <windows.h>
#endif
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
setlocale(LC_ALL,"Russian");
if(argc == 1)
{
#ifdef _WIN32
ShowWindow(GetConsoleWindow(), 0);
#endif
EditorMainWindow w;
w.show();
return a.exec();
}
else
{
console c;
c.exec(argc, argv);
return 0;
}
}