mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 17:04:45 -04:00
fixed wrong web library navigation after opening a remote comic
This commit is contained in:
27
YACReaderLibrary/comic_vine/model/response_parser.h
Normal file
27
YACReaderLibrary/comic_vine/model/response_parser.h
Normal file
@ -0,0 +1,27 @@
|
||||
#ifndef RESPONSE_PARSER_H
|
||||
#define RESPONSE_PARSER_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class ResponseParser : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ResponseParser(QObject *parent = 0);
|
||||
bool responseError();
|
||||
qint32 getNumResults();
|
||||
qint32 getCurrentPage();
|
||||
qint32 getTotalPages();
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void loadJSONResponse(const QString & response);
|
||||
|
||||
protected:
|
||||
bool error;
|
||||
qint32 numResults;
|
||||
qint32 currentPage;
|
||||
qint32 totalPages;
|
||||
};
|
||||
|
||||
#endif // RESPONSE_PARSER_H
|
Reference in New Issue
Block a user