mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: draft
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef UPDATECONTROLLER_H
|
||||
#define UPDATECONTROLLER_H
|
||||
|
||||
#include "Core/sendsystem.h"
|
||||
#include "Core/versioncontainer.h"
|
||||
#include <QXmlStreamWriter>
|
||||
#include <QXmlStreamReader>
|
||||
#include <QXmlStreamAttribute>
|
||||
@@ -15,14 +17,8 @@
|
||||
#include <QDialogButtonBox>
|
||||
|
||||
#include <Data\FileData.h>
|
||||
#include <Core\dataparser.h>
|
||||
#include <Core\tcpclient.h>
|
||||
#include <Data\streamingversiondata.h>
|
||||
|
||||
class SendSystem;
|
||||
class MainWindow;
|
||||
class DataParser;
|
||||
class VersionContainer;
|
||||
#include <Core\dataparseroutput.h>
|
||||
|
||||
class UpdateController : public QObject
|
||||
{
|
||||
@@ -30,11 +26,10 @@ class UpdateController : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit UpdateController(DataParser *parser,
|
||||
SendSystem *sendSystem,
|
||||
explicit UpdateController(DataParserOutput *dataParser, SendSystem *sendSystem,
|
||||
QObject *parent = 0);
|
||||
|
||||
void initialize(MainWindow *mainWindow,VersionContainer *versionContainer);
|
||||
void initialize(VersionContainer *versionContainer);
|
||||
void calculateCommonHash();
|
||||
void calculateStreamingHash();
|
||||
~UpdateController();
|
||||
@@ -45,8 +40,8 @@ public:
|
||||
signals:
|
||||
void sigUpdateComplete(bool flag);
|
||||
private:
|
||||
DataParser *dataParser;
|
||||
SendSystem *sendSystem;
|
||||
DataParserOutput * dataParserOut;
|
||||
QString applicationFolderPath;
|
||||
VersionContainer *versionContainer;
|
||||
QList<FileData> appDataList;
|
||||
|
||||
Reference in New Issue
Block a user