1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #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
- public:
- explicit LegacyApp(QObject *parent = nullptr);
- void Init();
- private:
- void StartDatFilesInitialisation();
- signals:
- private slots:
- void DownloadFinished();
- public:
- 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
|