diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-01 10:57:30 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-01 10:57:30 +0000 |
| commit | 3c7f718e0595ad041b52a6d27116b70bef62fb60 (patch) | |
| tree | 98da84e51f8391b3b38306344cb791154a3fc142 /source/QXmppClient.h | |
| parent | 401f701dde7d2334deb58d7d6237364def6206ea (diff) | |
| download | qxmpp-3c7f718e0595ad041b52a6d27116b70bef62fb60.tar.gz | |
report XMPP stream errors (issue #40)
Diffstat (limited to 'source/QXmppClient.h')
| -rw-r--r-- | source/QXmppClient.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/QXmppClient.h b/source/QXmppClient.h index 0503195b..48893550 100644 --- a/source/QXmppClient.h +++ b/source/QXmppClient.h @@ -75,6 +75,13 @@ public: XmppStanzaError ///< Error due to stanza }; + // An enumeration for the type of XMPP stream error. + enum StreamError + { + ConflictStreamError, + UnknownStreamError, + }; + QXmppClient(QObject *parent = 0); ~QXmppClient(); void connectToServer(const QString& host, @@ -173,7 +180,7 @@ public: const QVariant &arg9 = QVariant(), const QVariant &arg10 = QVariant() ); -// QXmppStanza::Error getXmppStreamError(); + QXmppClient::StreamError getXmppStreamError(); public slots: void sendPacket(const QXmppPacket&); |
