mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: send xml answer
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <QTcpSocket>
|
||||
#include <mainwindow.h>
|
||||
#include <Core\tools.h>
|
||||
#include <Core\UpdateController.h>
|
||||
#include <Core\updatecontroller.h>
|
||||
|
||||
class UpdateController;
|
||||
|
||||
@@ -18,7 +18,7 @@ class RecognizeSystem : public QObject
|
||||
public:
|
||||
explicit RecognizeSystem(QObject *parent = 0);
|
||||
~RecognizeSystem();
|
||||
void Initialize(UpdateController* updateController);
|
||||
void Initialize(UpdateController* updateController,DataParser *dataParser);
|
||||
void SetSocket(QTcpSocket *socket);
|
||||
void Recognize();
|
||||
|
||||
@@ -27,9 +27,11 @@ signals:
|
||||
void LoadComplete();
|
||||
void onNeedUpdate(bool flag);
|
||||
void onSendDebugLog(QString message);
|
||||
void SockedDisabled();
|
||||
|
||||
private:
|
||||
UpdateController *updateController;
|
||||
DataParser *dataParser;
|
||||
QTcpSocket *socket;
|
||||
PacketType packetType;
|
||||
QString message;
|
||||
@@ -40,6 +42,8 @@ private:
|
||||
qint64 fileSize;
|
||||
int countSend;
|
||||
|
||||
void XMLParser(QByteArray array);
|
||||
|
||||
};
|
||||
|
||||
#endif // RECOGNIZESYSTEM_H
|
||||
|
||||
Reference in New Issue
Block a user