aboutsummaryrefslogtreecommitdiff
path: root/examples/example_8_server/xmppServer.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 12:37:34 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 12:37:34 +0000
commit8b9e630718d4abcf2677448120cc80c1791a444e (patch)
tree337e009fc032273d043d4285ca48471ec9d629ff /examples/example_8_server/xmppServer.h
parent215be02a36812acf112fe82ea03ca5a09392ad90 (diff)
downloadqxmpp-8b9e630718d4abcf2677448120cc80c1791a444e.tar.gz
add an example for XMPP server
Diffstat (limited to 'examples/example_8_server/xmppServer.h')
-rw-r--r--examples/example_8_server/xmppServer.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/example_8_server/xmppServer.h b/examples/example_8_server/xmppServer.h
new file mode 100644
index 00000000..4da66b81
--- /dev/null
+++ b/examples/example_8_server/xmppServer.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2008-2010 The QXmpp developers
+ *
+ * Author:
+ * Jeremy Lainé
+ *
+ * Source:
+ * http://code.google.com/p/qxmpp
+ *
+ * This file is a part of QXmpp library.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ */
+
+#include "QXmppServer.h"
+
+class xmppServer : public QXmppServer
+{
+private:
+ void handleStanza(QXmppStream*, const QDomElement&);
+};
+