QXmpp  Version:0.9.1
QXmppSessionIq.h
1 /*
2  * Copyright (C) 2008-2014 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 
26 #ifndef QXMPPSESSIONIQ_H
27 #define QXMPPSESSIONIQ_H
28 
29 #include "QXmppIq.h"
30 
35 
36 class QXMPP_EXPORT QXmppSessionIq : public QXmppIq
37 {
38 public:
40  static bool isSessionIq(const QDomElement &element);
42 
43 private:
45  void toXmlElementFromChild(QXmlStreamWriter *writer) const;
47 };
48 
49 #endif // QXMPPSESSION_H
The QXmppSessionIq class represents an IQ used for session establishment as defined by RFC 3921...
Definition: QXmppSessionIq.h:36
The QXmppIq class is the base class for all IQs.
Definition: QXmppIq.h:42