mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
27 lines
446 B
C++
27 lines
446 B
C++
#ifndef __CHECKUPDATE_H
|
|
#define __CHECKUPDATE_H
|
|
|
|
#include "http_worker.h"
|
|
#include "yacreader_global.h"
|
|
|
|
#include <QByteArray>
|
|
#include <QThread>
|
|
|
|
class HttpVersionChecker : public HttpWorker
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
HttpVersionChecker();
|
|
public slots:
|
|
|
|
private:
|
|
bool found;
|
|
private slots:
|
|
bool checkNewVersion(QString sourceContent);
|
|
void checkNewVersion(const QByteArray &data);
|
|
signals:
|
|
void newVersionDetected();
|
|
};
|
|
|
|
#endif
|