mirror of
				https://github.com/YACReader/yacreader
				synced 2025-11-03 16:54:39 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			490 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			490 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef __CHECKUPDATE_H
 | 
						|
#define __CHECKUPDATE_H
 | 
						|
 | 
						|
#include "http_worker.h"
 | 
						|
#include "yacreader_global.h"
 | 
						|
 | 
						|
#include <QWidget>
 | 
						|
#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
 |