尝试改成asio通信
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user