aboutsummaryrefslogtreecommitdiff
path: root/src/server/mod_presence.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-04-20 12:19:13 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2012-04-20 12:19:13 +0000
commit1ab17abe56f166fb1c2fd1d36d2c869fc1e1579d (patch)
tree88eaf4fcb1fa2755ba0f7451c9f509199d4ec91c /src/server/mod_presence.h
parent54e7705ca9084a413a83275b45a954e191b03f57 (diff)
downloadqxmpp-1ab17abe56f166fb1c2fd1d36d2c869fc1e1579d.tar.gz
remove mod_presence
Diffstat (limited to 'src/server/mod_presence.h')
-rw-r--r--src/server/mod_presence.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/server/mod_presence.h b/src/server/mod_presence.h
deleted file mode 100644
index 6e80a136..00000000
--- a/src/server/mod_presence.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (C) 2008-2011 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.
- *
- */
-
-#ifndef QXMPP_SERVER_PRESENCE_H
-#define QXMPP_SERVER_PRESENCE_H
-
-#include "QXmppServerExtension.h"
-
-class QXmppPresence;
-class QXmppServerPresencePrivate;
-
-/// \brief QXmppServer extension for presence handling.
-///
-
-class QXMPP_EXPORT QXmppServerPresence : public QXmppServerExtension
-{
- Q_OBJECT
- Q_CLASSINFO("ExtensionName", "presence");
-
-public:
- QXmppServerPresence();
- ~QXmppServerPresence();
-
- QList<QXmppPresence> availablePresences(const QString &bareJid) const;
- int extensionPriority() const;
- bool handleStanza(const QDomElement &element);
- QSet<QString> presenceSubscribers(const QString &jid);
- bool start();
- void stop();
-
- static QXmppServerPresence* instance(QXmppServer *server);
-
-private slots:
- void _q_clientDisconnected(const QString &jid);
-
-private:
- friend class QXmppServerPresencePrivate;
- QXmppServerPresencePrivate *d;
-};
-
-#endif