OEUpdateManager.h 456 B

1234567891011121314151617181920
  1. #ifndef OEUPDATEMANAGER_H
  2. #define OEUPDATEMANAGER_H
  3. #include "UpdateManager.h"
  4. class OEUpdateManager : public UpdateManager
  5. {
  6. public:
  7. explicit OEUpdateManager(QObject *parent = nullptr) {};
  8. ~OEUpdateManager() override {};
  9. QString HaveUpdate() override;
  10. bool applyUpdate(const QString &version) override;
  11. void doUpdate(const QString& version) override;
  12. private:
  13. bool isMiniUpdateArchive(QString archivePath);
  14. };
  15. #endif // OEUPDATEMANAGER_H