feat: loading base version

This commit is contained in:
semenov
2024-12-16 16:36:43 +03:00
parent 4e19ff42c5
commit b9f7ef3369
68 changed files with 1895 additions and 373 deletions

View File

@@ -1,5 +1,4 @@
#include "UpdateController.h"
#include <QDialogButtonBox>
UpdateController::UpdateController(DataParser *parser,SendSystem *sendSystem, QObject *parent) :
@@ -26,6 +25,11 @@ void UpdateController::calculateStreamingHash()
dataParser->createFileDataList(appDataList,streamingHashFilename);
}
void UpdateController::setServerVersion(StreamingVersionData *version)
{
serverVersion = version;
}
QList<FileData> UpdateController::calculateHash(QString path)
{
qDebug() << "Try calculate";
@@ -122,6 +126,11 @@ void UpdateController::updateFilesOnServer(QList<FileData> *fileSendList){
}
StreamingVersionData *UpdateController::getServerVersion() const
{
return serverVersion;
}
UpdateController::~UpdateController()
{