mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 17:04:45 -04:00
added new comic_vine folder containing all the ComicVine related clases
added QtScript dependency (json parser)
This commit is contained in:
23
YACReaderLibrary/comic_vine/model/response_parser.h
Normal file
23
YACReaderLibrary/comic_vine/model/response_parser.h
Normal file
@ -0,0 +1,23 @@
|
||||
#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();
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void loadJSONResponse(const QString & response);
|
||||
|
||||
protected:
|
||||
bool error;
|
||||
qint32 numResults;
|
||||
};
|
||||
|
||||
#endif // RESPONSE_PARSER_H
|
Reference in New Issue
Block a user