mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: refactoring treads, check local update instructor
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
class UpdateController;
|
||||
class RecognizeSystem;
|
||||
class SendSystem;
|
||||
class MainWindow;
|
||||
class ServerSettings;
|
||||
|
||||
class TCPClient : public QObject
|
||||
{
|
||||
@@ -24,7 +26,7 @@ class TCPClient : public QObject
|
||||
|
||||
public:
|
||||
explicit TCPClient(QObject *parent = 0);
|
||||
void initialize(RecognizeSystem *recognize,ExternalExecuter *externalExecuter,SendSystem *sendSystem);
|
||||
void initialize(MainWindow *mainWindow,RecognizeSystem *recognize,ExternalExecuter *externalExecuter,SendSystem *sendSystem);
|
||||
void setConnect(ServerSettings *serverSettings);
|
||||
|
||||
void waitRead(int time);
|
||||
@@ -35,10 +37,8 @@ public:
|
||||
|
||||
signals:
|
||||
void sigSendDebugLog(QString message);
|
||||
void sigRecognize(QTcpSocket *socket);
|
||||
void sigServerDisconnect();
|
||||
void sigConnectionState(bool flag);
|
||||
void sigSetSocket(QTcpSocket *socket);
|
||||
|
||||
public slots:
|
||||
void slotSendCommand(QString message);
|
||||
|
||||
Reference in New Issue
Block a user