123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef IMAGESPATCH_H
- #define IMAGESPATCH_H
- #include <QObject>
- #include "models/patch/patch.h"
- #include "models/lotrodatmanager.h"
- class GraphicsPatch : public Patch
- {
- Q_OBJECT
- public:
- GraphicsPatch(LotroDatManager* mgr, QObject* parent = nullptr);
- public slots:
- virtual void checkForUpdates() override;
- virtual void download() override;
- virtual void install() override;
- virtual void activate() override;
- private slots:
- // void onDownloaderProgressChanged(Downloader* ptr, Downloader::Status status);
- // void onDownloaderFinished(Downloader* ptr);
- // void onLotroDatManagerOperationFinished(QString operation_name, QVector<QVariant> args, bool successful);
- // void onLotroDatManagerOperationStarted(QString operation_name, QVector<QVariant> args);
- // void onLotroDatManagerStatusChanged(LotroDatManager::Status status);
- private:
- const QStringList databases_names = {
- "image",
- "texture",
- "loadscreen",
- };
- // void installLoadscreens();
- // void enableLoadscreens();
- // void disableLoadscreens();
- // quint8 elapsed_patches_to_download_ = 0; // for download process
- // quint8 elapsed_databases_to_install_ = 0; // for install process
- // quint8 elapsed_categories_to_activate_ = 0; // for activate/deactivate process
- };
- #endif // IMAGESPATCH_H
|