QXmpp
Version:0.4.0
|
00001 /* 00002 * Copyright (C) 2008-2011 The QXmpp developers 00003 * 00004 * Authors: 00005 * Georg Rudoy 00006 * Jeremy Lainé 00007 * 00008 * Source: 00009 * http://code.google.com/p/qxmpp 00010 * 00011 * This file is a part of QXmpp library. 00012 * 00013 * This library is free software; you can redistribute it and/or 00014 * modify it under the terms of the GNU Lesser General Public 00015 * License as published by the Free Software Foundation; either 00016 * version 2.1 of the License, or (at your option) any later version. 00017 * 00018 * This library is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00021 * Lesser General Public License for more details. 00022 * 00023 */ 00024 00025 #ifndef QXMPPMESSAGERECEIPTMANAGER_H 00026 #define QXMPPMESSAGERECEIPTMANAGER_H 00027 00028 #include "QXmppClientExtension.h" 00029 00035 00036 class QXmppMessageReceiptManager : public QXmppClientExtension 00037 { 00038 Q_OBJECT 00039 public: 00040 QXmppMessageReceiptManager(); 00041 00043 virtual QStringList discoveryFeatures() const; 00044 virtual bool handleStanza(const QDomElement &stanza); 00046 00047 signals: 00051 void messageDelivered(const QString &jid, const QString &id); 00052 }; 00053 00054 #endif // QXMPPMESSAGERECEIPTMANAGER_H