StelJsonParser.cpp   StelJsonParser.cpp 
skipping to change at line 24 skipping to change at line 24
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#include "StelJsonParser.hpp" #include "StelJsonParser.hpp"
#include <QDebug> #include <QDebug>
#include <QBuffer> #include <QBuffer>
#include <QDateTime> #include <QDateTime>
#include <stdexcept> #include <stdexcept>
#include <stdio.h>
class StelJsonParserInstance class StelJsonParserInstance
{ {
public: public:
StelJsonParserInstance(QIODevice* ain) : input(ain), hasNextChar(fal StelJsonParserInstance(QIODevice* ain)
se) : input(ain)
, nextChar()
, hasNextChar(false)
{ {
cur = buffer; cur = buffer;
last = cur; last = cur;
} }
inline void skipJson(); inline void skipJson();
inline bool tryReadChar(char c); inline bool tryReadChar(char c);
inline bool skipAndConsumeChar(char r); inline bool skipAndConsumeChar(char r);
QByteArray readString(); QByteArray readString();
QVariant readOther(); QVariant readOther();
QVariant parse(); QVariant parse();
 End of changes. 2 change blocks. 
2 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/