#ifndef UPDATECONTROLLER_H
#define UPDATECONTROLLER_H


#include "Core\FileData.h"
#include "Core\dataparser.h"
#include "Core\tcpclient.h"
#include <QXmlStreamWriter>
#include <QXmlStreamReader>
#include <QXmlStreamAttribute>
#include <QCryptographicHash>
#include <QDirIterator>
#include <QFile>
#include <QTextStream>
#include <QDateTime>
#include <QDebug>
#include <QList>
#include <QObject>

class UpdateController : public QObject
{

    Q_OBJECT

public:
    explicit UpdateController(DataParser *parser,QObject *parent = 0);
    void CalculateHash();
    ~UpdateController();

private:
    DataParser *dataParser;
    QString localPath;
    QList<FileData> fileDataList;
};



#endif // UPDATECONTROLLER_H
