From 1e917274eb8fdbc0c74a23e8a3e5efae0f93431f Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 22 Feb 2010 19:09:07 +0000 Subject: start adding constants for stream initiation (XEP-0095) --- source/QXmppConstants.cpp | 3 +++ source/QXmppConstants.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'source') diff --git a/source/QXmppConstants.cpp b/source/QXmppConstants.cpp index f461ff93..83e532e7 100644 --- a/source/QXmppConstants.cpp +++ b/source/QXmppConstants.cpp @@ -47,3 +47,6 @@ const char *ns_muc_admin = "http://jabber.org/protocol/muc#admin"; const char *ns_muc_owner = "http://jabber.org/protocol/muc#owner"; const char *ns_muc_user = "http://jabber.org/protocol/muc#user"; const char *ns_chat_states = "http://jabber.org/protocol/chatstates"; +const char *ns_stream_initiation = "http://jabber.org/protocol/si"; +const char *ns_stream_initiation_file_transfer = "http://jabber.org/protocol/si/profile/file-transfer"; +const char *ns_feature_negotiation = "http://jabber.org/protocol/feature-neg"; diff --git a/source/QXmppConstants.h b/source/QXmppConstants.h index fc97e342..bffa5b55 100644 --- a/source/QXmppConstants.h +++ b/source/QXmppConstants.h @@ -48,5 +48,8 @@ extern const char *ns_muc_admin; extern const char *ns_muc_owner; extern const char *ns_muc_user; extern const char *ns_chat_states; +extern const char *ns_stream_initiation; +extern const char *ns_stream_initiation_file_transfer; +extern const char *ns_feature_negotiation; #endif // QXMPPCONSTANTS_H -- cgit v1.2.3