Update precompiled pdfium for mac to chromium/3071 and add version info file with minimal build instructions

This commit is contained in:
Felix Kauselmann
2017-05-07 15:18:00 +02:00
commit d5c72ad2d1
1035 changed files with 102209 additions and 0 deletions

31
common/http_worker.h Normal file
View File

@ -0,0 +1,31 @@
#ifndef __HTTP_WORKER_H
#define __HTTP_WORKER_H
#include <QByteArray>
#include <QThread>
#include <QUrl>
#include "yacreader_global.h"
class HttpWorker : public QThread
{
Q_OBJECT
public:
HttpWorker(const QString & urlString);
public slots:
void get();
QByteArray getResult();
bool wasValid();
bool wasTimeout();
private:
void run();
QUrl url;
int httpGetId;
QByteArray result;
bool _error;
bool _timeout;
signals:
void dataReady(const QByteArray &);
void timeout();
};
#endif