mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
fead: load without animation
This commit is contained in:
@@ -17,20 +17,31 @@
|
||||
#include <QList>
|
||||
#include <QObject>
|
||||
|
||||
class SendSystem;
|
||||
|
||||
class UpdateController : public QObject
|
||||
{
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit UpdateController(DataParser *parser,QObject *parent = 0);
|
||||
void calculateHash();
|
||||
explicit UpdateController(DataParser *parser,SendSystem *sendSystem,QObject *parent = 0);
|
||||
|
||||
void calculateCommonHash();
|
||||
void calculateStreamingHash();
|
||||
~UpdateController();
|
||||
|
||||
void updateFilesOnServer(QList<FileData> *fileSendList);
|
||||
|
||||
signals:
|
||||
void sigUpdateComplete(bool flag);
|
||||
private:
|
||||
DataParser *dataParser;
|
||||
SendSystem *sendSystem;
|
||||
QString localPath;
|
||||
QList<FileData> fileDataList;
|
||||
|
||||
void calculateHash(QString path);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user