12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef LEGACYAPP_H
- #define LEGACYAPP_H
- #include <QObject>
- #include <QSettings>
- #include <QApplication>
- #include <queue>
- #include "mainwindow.h"
- #include <LotroDat.h>
- class MainWindow;
- class FileDownloader;
- class LegacyApp : public QObject
- {
- Q_OBJECT
- friend class MainWindow;
- public:
- explicit LegacyApp(QObject *parent = nullptr);
- void Init();
- private:
- void StartDatFilesInitialisation();
- signals:
- private slots:
- void DownloadFinished();
- private:
- MainWindow window;
- LOTRO_DAT::DatFile client_local_dat;
- std::queue<QString> patch_databases_queue;
- bool client_local_dat_busy;
- QSettings properties;
- FileDownloader* dowloader;
- std::queue<std::pair<QString, QString>> download_queue;
- };
- #endif // LEGACYAPP_H
|