refactor core_process (1)

This commit is contained in:
arm64v8a
2022-09-11 11:38:48 +08:00
parent dbbd54077b
commit 06b0163319
7 changed files with 120 additions and 103 deletions

View File

@@ -15,6 +15,7 @@
#include "main/GuiUtils.hpp"
class QFileSystemWatcher;
namespace NekoRay::sys { class CoreProcess; }
QT_BEGIN_NAMESPACE
namespace Ui {
@@ -120,9 +121,7 @@ private:
QShortcut *shortcut_ctrl_f = new QShortcut(QKeySequence("Ctrl+F"), this);
QShortcut *shortcut_esc = new QShortcut(QKeySequence("Esc"), this);
//
QProcess *core_process;
bool prepare_exit_core = false;
bool core_process_show_stderr = false;
NekoRay::sys::CoreProcess *core_process;
qint64 vpn_pid = 0;
QFileSystemWatcher *watcher = nullptr;
//