textspatch.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef TEXTPATCH_H
  2. #define TEXTPATCH_H
  3. #include <QObject>
  4. #include "models/patch/patch.h"
  5. class TextsPatch : public Patch
  6. {
  7. Q_OBJECT
  8. public:
  9. TextsPatch(LotroDatManager* mgr, QObject* parent = nullptr);
  10. public slots:
  11. virtual void checkForUpdates() override;
  12. virtual void download() override;
  13. virtual void install() override;
  14. virtual void activate() override;
  15. private slots:
  16. // void onDownloaderProgressChanged(Downloader* ptr, Downloader::Status status);
  17. // void onDownloaderFinished(Downloader* ptr);
  18. // void onLotroDatManagerOperationFinished(QString operation_name, QVector<QVariant> args, bool successful);
  19. // void onLotroDatManagerOperationStarted(QString operation_name, QVector<QVariant> args);
  20. // void onLotroDatManagerStatusChanged(LotroDatManager::Status status);
  21. private:
  22. const QStringList databases_names = {
  23. "image",
  24. "texture",
  25. "loadscreen",
  26. };
  27. // void installLoadscreens();
  28. // void enableLoadscreens();
  29. // void disableLoadscreens();
  30. // quint8 elapsed_patches_to_download_ = 0; // for download process
  31. // quint8 elapsed_databases_to_install_ = 0; // for install process
  32. // quint8 elapsed_categories_to_activate_ = 0; // for activate/deactivate process
  33. };
  34. #endif // TEXTPATCH_H