1
/****************************************************************************
5
** Copyright © 2003 Justin Karneges <justin@affinix.com>
6
** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru>
8
*****************************************************************************
10
** $JREEN_BEGIN_LICENSE$
11
** This program is free software: you can redistribute it and/or modify
12
** it under the terms of the GNU General Public License as published by
13
** the Free Software Foundation, either version 2 of the License, or
14
** (at your option) any later version.
16
** This program is distributed in the hope that it will be useful,
17
** but WITHOUT ANY WARRANTY; without even the implied warranty of
18
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19
** See the GNU General Public License for more details.
21
** You should have received a copy of the GNU General Public License
22
** along with this program. If not, see http://www.gnu.org/licenses/.
23
** $JREEN_END_LICENSE$
25
****************************************************************************/
32
#include "streamfeature_p.h"
33
#include "stanzaextension.h"
35
#include "stanzafactory_p.h"
39
// #define PARSER_DEBUG_SPEED 1
40
#undef PARSER_DEBUG_SPEED
41
#define PARSER_SPLIT_STANZAS_EVENTS 1
45
* This file is not a part of JReen API, it may be chagned or even removed
46
* without any notification.
54
QXmlStreamReader *reader;
55
QXmlStreamReader nullReader;
57
QStack<XmlStreamParser*> parsers;
58
QStack<int> parsersCount;
63
ClientPrivate *client;
64
#ifdef PARSER_DEBUG_SPEED
68
int stanzaLogicTime[4];