abstractroster.h | abstractroster.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
activity.h | activity.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** Copyright (C) 2011 Prokhin Alexey <alexey.prokhin@yandex.ru> | ** Copyright © 2011 Alexey Prokhin <alexey.prokhin@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
bookmark.h | bookmark.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
bookmarkstorage.h | bookmarkstorage.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
buffereddatastream.h | buffereddatastream.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
capabilities.h | capabilities.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
skipping to change at line 46 | skipping to change at line 46 | |||
{ | { | |||
Q_DECLARE_PRIVATE(Capabilities) | Q_DECLARE_PRIVATE(Capabilities) | |||
J_PAYLOAD(Jreen::Capabilities) | J_PAYLOAD(Jreen::Capabilities) | |||
public: | public: | |||
Capabilities(const QString &ver, const QString &node = QString()); | Capabilities(const QString &ver, const QString &node = QString()); | |||
~Capabilities(); | ~Capabilities(); | |||
void setNode(const QString &node); | void setNode(const QString &node); | |||
QString node() const; | QString node() const; | |||
QString ver() const; | QString ver() const; | |||
QString calculatedNode() const; | ||||
private: | private: | |||
QScopedPointer<CapabilitiesPrivate> d_ptr; | QScopedPointer<CapabilitiesPrivate> d_ptr; | |||
}; | }; | |||
} | } | |||
#endif // CAPABILITIES_H | #endif // CAPABILITIES_H | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
chatstate.h | chatstate.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
client.h | client.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
skipping to change at line 36 | skipping to change at line 36 | |||
#ifndef CLIENT_H | #ifndef CLIENT_H | |||
#define CLIENT_H | #define CLIENT_H | |||
#include <QObject> | #include <QObject> | |||
#include <QSet> | #include <QSet> | |||
#include "jreen.h" | #include "jreen.h" | |||
#include "presence.h" | #include "presence.h" | |||
#include "disco.h" | #include "disco.h" | |||
class QNetworkProxyFactory; | ||||
class QNetworkProxy; | ||||
namespace Jreen | namespace Jreen | |||
{ | { | |||
class ClientPrivate; | class ClientPrivate; | |||
class JID; | class JID; | |||
class Message; | class Message; | |||
class IQ; | class IQ; | |||
class IQReply; | class IQReply; | |||
class Connection; | class Connection; | |||
class StreamFeature; | class StreamFeature; | |||
skipping to change at line 92 | skipping to change at line 95 | |||
Client(const JID &jid, const QString &password = QString(), int port = -1); | Client(const JID &jid, const QString &password = QString(), int port = -1); | |||
Client(); | Client(); | |||
virtual ~Client(); | virtual ~Client(); | |||
void setPingInterval(int interval); | void setPingInterval(int interval); | |||
const JID &jid(); | const JID &jid(); | |||
void setJID(const JID &jid); | void setJID(const JID &jid); | |||
void setPassword(const QString &password); | void setPassword(const QString &password); | |||
void setServer(const QString &server); | void setServer(const QString &server); | |||
void setResource(const QString &resource); | void setResource(const QString &resource); | |||
void setPort(int port); | void setPort(int port); | |||
void setProxy(const QNetworkProxy &proxy); | ||||
QNetworkProxy proxy() const; | ||||
void setProxyFactory(QNetworkProxyFactory *factory); | ||||
QNetworkProxyFactory *proxyFactory() const; | ||||
void addXmlStreamHandler(XmlStreamHandler *handler); | void addXmlStreamHandler(XmlStreamHandler *handler); | |||
QSet<QString> serverFeatures() const; | QSet<QString> serverFeatures() const; | |||
Disco::IdentityList serverIdentities() const; | Disco::IdentityList serverIdentities() const; | |||
const QString &server() const; | const QString &server() const; | |||
int port() const; | int port() const; | |||
QString password() const; | QString password() const; | |||
const QString getID(); | const QString getID(); | |||
Presence &presence(); | Presence &presence(); | |||
Disco *disco(); | Disco *disco(); | |||
MessageSessionManager *messageSessionManager(); | MessageSessionManager *messageSessionManager(); | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 9 lines changed or added | |||
connection.h | connection.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
skipping to change at line 86 | skipping to change at line 86 | |||
virtual SocketState socketState() const = 0; | virtual SocketState socketState() const = 0; | |||
virtual SocketError socketError() const = 0; | virtual SocketError socketError() const = 0; | |||
virtual bool open() = 0; | virtual bool open() = 0; | |||
virtual void close() = 0; | virtual void close() = 0; | |||
signals: | signals: | |||
void hostFound(); | void hostFound(); | |||
void connected(); | void connected(); | |||
void disconnected(); | void disconnected(); | |||
void stateChanged(SocketState); | void stateChanged(Jreen::Connection::SocketState); | |||
void error(SocketError); | void error(Jreen::Connection::SocketError); | |||
protected: | protected: | |||
virtual qint64 readData(char *data, qint64 maxlen) = 0; | virtual qint64 readData(char *data, qint64 maxlen) = 0; | |||
virtual qint64 writeData(const char *data, qint64 len) = 0; | virtual qint64 writeData(const char *data, qint64 len) = 0; | |||
private: | private: | |||
bool open(OpenMode) { return false; } | bool open(OpenMode) { return false; } | |||
}; | }; | |||
class JREEN_EXPORT ConnectionListener : public QObject | class JREEN_EXPORT ConnectionListener : public QObject | |||
{ | { | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
connectionbosh.h | connectionbosh.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dataform.h | dataform.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
datastream.h | datastream.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
delayeddelivery.h | delayeddelivery.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
directconnection.h | directconnection.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
disco.h | disco.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
entitytime.h | entitytime.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
error.h | error.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
iq.h | iq.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
iqreply.h | iqreply.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
jid.h | jid.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
jreen.h | jreen.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
jstrings.h | jstrings.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
langmap.h | langmap.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
message.h | message.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
messagesession.h | messagesession.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
mood.h | mood.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
mucroom.h | mucroom.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
skipping to change at line 78 | skipping to change at line 78 | |||
private: | private: | |||
Participant(); | Participant(); | |||
~Participant(); | ~Participant(); | |||
public: | public: | |||
Affiliation affiliation() const; | Affiliation affiliation() const; | |||
Role role() const; | Role role() const; | |||
bool isSelf() const; | bool isSelf() const; | |||
bool isNickChanged() const; | bool isNickChanged() const; | |||
bool isBanned() const; | bool isBanned() const; | |||
bool isKicked() const; | bool isKicked() const; | |||
bool isJoined() const; | ||||
QString newNick() const; | QString newNick() const; | |||
QString reason() const; | QString reason() const; | |||
JID realJID() const; | JID realJID() const; | |||
private: | private: | |||
QScopedPointer<ParticipantPrivate> d_ptr; | QScopedPointer<ParticipantPrivate> d_ptr; | |||
friend class MUCRoomPrivate; | friend class MUCRoomPrivate; | |||
}; | }; | |||
class JREEN_EXPORT Item | class JREEN_EXPORT Item | |||
{ | { | |||
public: | public: | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||
multimediadata.h | multimediadata.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
nickname.h | nickname.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
parser.h | parser.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
skipping to change at line 55 | skipping to change at line 55 | |||
WaitingForStanza, | WaitingForStanza, | |||
ReadFeatures, | ReadFeatures, | |||
ReadStanza, | ReadStanza, | |||
ReadCustom | ReadCustom | |||
}; | }; | |||
Parser(Client *client); | Parser(Client *client); | |||
~Parser(); | ~Parser(); | |||
void reset(); | void reset(); | |||
void activateFeature(); | void activateFeature(); | |||
QByteArray nextPart(QByteArray &data, bool first, bool *needMoreData ); | ||||
bool canParse(const QStringRef &name, const QStringRef &uri, const Q XmlStreamAttributes &attributes); | bool canParse(const QStringRef &name, const QStringRef &uri, const Q XmlStreamAttributes &attributes); | |||
void handleStartElement(const QStringRef &name, const QStringRef &ur i, const QXmlStreamAttributes &attributes); | void handleStartElement(const QStringRef &name, const QStringRef &ur i, const QXmlStreamAttributes &attributes); | |||
void handleEndElement(const QStringRef &name, const QStringRef &uri) ; | void handleEndElement(const QStringRef &name, const QStringRef &uri) ; | |||
void handleCharacterData(const QStringRef &text); | void handleCharacterData(const QStringRef &text); | |||
bool event(QEvent *ev); | bool event(QEvent *ev); | |||
void appendData(const QByteArray &a); | void appendData(const QByteArray &a); | |||
void parseData(); | void parseData(); | |||
private: | private: | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
ping.h | ping.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
presence.h | presence.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
privacymanager.h | privacymanager.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
privatexml.h | privatexml.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
pubsubevent.h | pubsubevent.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
pubsubmanager.h | pubsubmanager.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
receipt.h | receipt.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
softwareversion.h | softwareversion.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
stanza.h | stanza.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
stanzaextension.h | stanzaextension.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
skipping to change at line 86 | skipping to change at line 86 | |||
class PayloadFactory : public AbstractPayloadFactory | class PayloadFactory : public AbstractPayloadFactory | |||
{ | { | |||
Q_DISABLE_COPY(PayloadFactory) | Q_DISABLE_COPY(PayloadFactory) | |||
public: | public: | |||
PayloadFactory(); | PayloadFactory(); | |||
virtual ~PayloadFactory(); | virtual ~PayloadFactory(); | |||
virtual int payloadType() const; | virtual int payloadType() const; | |||
}; | }; | |||
template <typename Extension> | ||||
class SimplePayloadFactory : public PayloadFactory<Extension> | ||||
{ | ||||
Q_DISABLE_COPY(SimplePayloadFactory) | ||||
public: | ||||
SimplePayloadFactory(const QString &name, const QString &uri, Client | ||||
*client); | ||||
virtual ~SimplePayloadFactory(); | ||||
virtual bool canParse(const QStringRef &name, const QStringRef &uri, | ||||
const QXmlStreamAttributes &attributes); | ||||
private: | ||||
QString m_elementName; | ||||
QString m_elementUri; | ||||
}; | ||||
//template <typename T> | //template <typename T> | |||
//Q_INLINE_TEMPLATE T se_cast(Payload *se) | //Q_INLINE_TEMPLATE T se_cast(Payload *se) | |||
//{ | //{ | |||
// if (se && qMetaTypeId<T>() == se->payloadType()) | // if (se && qMetaTypeId<T>() == se->payloadType()) | |||
// return static_cast<T>(se); | // return static_cast<T>(se); | |||
// return 0; | // return 0; | |||
//} | //} | |||
template <typename Extension> | template <typename Extension> | |||
Q_INLINE_TEMPLATE PayloadFactory<Extension>::PayloadFactory() | Q_INLINE_TEMPLATE PayloadFactory<Extension>::PayloadFactory() | |||
skipping to change at line 124 | skipping to change at line 110 | |||
Q_INLINE_TEMPLATE PayloadFactory<Extension>::~PayloadFactory() | Q_INLINE_TEMPLATE PayloadFactory<Extension>::~PayloadFactory() | |||
{ | { | |||
} | } | |||
template <typename Extension> | template <typename Extension> | |||
Q_INLINE_TEMPLATE int PayloadFactory<Extension>::payloadType() const | Q_INLINE_TEMPLATE int PayloadFactory<Extension>::payloadType() const | |||
{ | { | |||
return Extension::staticPayloadType(); | return Extension::staticPayloadType(); | |||
} | } | |||
template <typename Extension> | ||||
Q_INLINE_TEMPLATE SimplePayloadFactory<Extension>::SimplePayloadFactory(con | ||||
st QString &name, const QString &uri, Client *client) | ||||
: SimplePayloadFactory(client), m_elementName(name), m_elementUri(ur | ||||
i) | ||||
{ | ||||
} | ||||
template <typename Extension> | ||||
Q_INLINE_TEMPLATE SimplePayloadFactory<Extension>::~SimplePayloadFactory() | ||||
{ | ||||
} | ||||
template <typename Extension> | ||||
Q_INLINE_TEMPLATE bool SimplePayloadFactory<Extension>::canParse(const QStr | ||||
ingRef &name, const QStringRef &uri, | ||||
const QXml | ||||
StreamAttributes &) | ||||
{ | ||||
return name == m_elementName && uri == m_elementUri; | ||||
} | ||||
template <typename T> | template <typename T> | |||
Q_INLINE_TEMPLATE T se_cast(Payload *se) | Q_INLINE_TEMPLATE T se_cast(Payload *se) | |||
{ | { | |||
if (se && reinterpret_cast<T>(0)->staticPayloadType() == se->payload Type()) | if (se && reinterpret_cast<T>(0)->staticPayloadType() == se->payload Type()) | |||
return static_cast<T>(se); | return static_cast<T>(se); | |||
return 0; | return 0; | |||
} | } | |||
} | } | |||
#define J_PAYLOAD(Class) \ | #define J_PAYLOAD(Class) \ | |||
End of changes. 3 change blocks. | ||||
39 lines changed or deleted | 1 lines changed or added | |||
streamprocessor.h | streamprocessor.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
subscription.h | subscription.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
tcpconnection.h | tcpconnection.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
tune.h | tune.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
udpconnection.h | udpconnection.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
util.h | util.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
vcard.h | vcard.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
vcardmanager.h | vcardmanager.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | ** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
vcardupdate.h | vcardupdate.h | |||
---|---|---|---|---|
/************************************************************************** ** | /************************************************************************** ** | |||
** | ** | |||
** Jreen | ** Jreen | |||
** | ** | |||
** Copyright (C) 2011 Sidorov Aleksey <sauron@citadelspb.com> | ** Copyright © 2011 Aleksey Sidorov <gorthauer87@yandex.ru> | |||
** | ** | |||
*************************************************************************** ** | *************************************************************************** ** | |||
** | ** | |||
** $JREEN_BEGIN_LICENSE$ | ** $JREEN_BEGIN_LICENSE$ | |||
** This program is free software: you can redistribute it and/or modify | ** This program is free software: you can redistribute it and/or modify | |||
** it under the terms of the GNU General Public License as published by | ** it under the terms of the GNU General Public License as published by | |||
** the Free Software Foundation, either version 2 of the License, or | ** the Free Software Foundation, either version 2 of the License, or | |||
** (at your option) any later version. | ** (at your option) any later version. | |||
** | ** | |||
** This program is distributed in the hope that it will be useful, | ** This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||