尝试改成asio通信

This commit is contained in:
2026-03-24 16:53:06 +08:00
parent 5843332980
commit 5bb1836bd1
640 changed files with 169314 additions and 92 deletions

View File

@@ -11,6 +11,7 @@
#include "Control/FileControl.h"
#include "Form/Transform.h"
#include "GuiUtil/Config.h"
#include <asio.hpp>
QT_BEGIN_NAMESPACE
namespace Ui {
@@ -50,6 +51,8 @@ private:
ClientCore* clientCore_;
TransForm* transform_;
Compare* compare_;
std::thread ioContextTh_;
asio::io_context ioContext_;
std::shared_ptr<FrelayConfig> config_;
};
#endif // FRELAYGUI_H