mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 13:34:44 -04:00
Creada provisionalmente clase Comic2 que evita los problemas de gesti?n de memoria
This commit is contained in:
@ -5,11 +5,14 @@
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
|
||||
#include <QThread>
|
||||
class Comic2;
|
||||
class QString;
|
||||
|
||||
class ComicController : public HttpRequestHandler {
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(ComicController);
|
||||
public:
|
||||
|
||||
/** Constructor */
|
||||
ComicController();
|
||||
|
||||
@ -17,4 +20,21 @@ public:
|
||||
void service(HttpRequest& request, HttpResponse& response);
|
||||
};
|
||||
|
||||
class Synchronizer : public QThread
|
||||
{
|
||||
|
||||
Q_OBJECT
|
||||
public:
|
||||
Synchronizer(Comic2 * c, QString p, QThread * f);
|
||||
bool loaded;
|
||||
private:
|
||||
Comic2 * comic;
|
||||
QString path;
|
||||
QThread * from;
|
||||
|
||||
void run();
|
||||
public slots:
|
||||
void waitedSignal();
|
||||
};
|
||||
|
||||
#endif // COMICCONTROLLER_H
|
||||
|
Reference in New Issue
Block a user