#ifndef LEGACYAPP_H #define LEGACYAPP_H #include #include #include #include #include "mainwindow.h" #include 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 patch_databases_queue; bool client_local_dat_busy; QSettings properties; FileDownloader* dowloader; std::queue> download_queue; }; #endif // LEGACYAPP_H