QXmpp  Version:1.3.1
QXmppSessionIq.h
1 /*
2  * Copyright (C) 2008-2020 The QXmpp developers
3  *
4  * Author:
5  * Manjeet Dahiya
6  * Jeremy LainĂ©
7  *
8  * Source:
9  * https://github.com/qxmpp-project/qxmpp
10  *
11  * This file is a part of QXmpp library.
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Lesser General Public
15  * License as published by the Free Software Foundation; either
16  * version 2.1 of the License, or (at your option) any later version.
17  *
18  * This library is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  * Lesser General Public License for more details.
22  *
23  */
24 
25 #ifndef QXMPPSESSIONIQ_H
26 #define QXMPPSESSIONIQ_H
27 
28 #include "QXmppIq.h"
29 
34 
35 class QXMPP_EXPORT QXmppSessionIq : public QXmppIq
36 {
37 public:
39  static bool isSessionIq(const QDomElement &element);
41 
42 private:
44  void toXmlElementFromChild(QXmlStreamWriter *writer) const override;
46 };
47 
48 #endif // QXMPPSESSION_H
QXmppSessionIq
The QXmppSessionIq class represents an IQ used for session establishment as defined by RFC 3921.
Definition: QXmppSessionIq.h:35
QXmppIq
The QXmppIq class is the base class for all IQs.
Definition: QXmppIq.h:41