aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppBitsOfBinaryIq.h
blob: 8a3f51349dbf1cdc33752b471ef797639e958e81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-FileCopyrightText: 2019 Linus Jahn <lnj@kaidan.im>
//
// SPDX-License-Identifier: LGPL-2.1-or-later

#ifndef QXMPPBITSOFBINARYIQ_H
#define QXMPPBITSOFBINARYIQ_H

#include "QXmppBitsOfBinaryData.h"
#include "QXmppIq.h"

class QXMPP_EXPORT QXmppBitsOfBinaryIq : public QXmppIq, public QXmppBitsOfBinaryData
{
public:
    QXmppBitsOfBinaryIq();
    ~QXmppBitsOfBinaryIq();

    static bool isBitsOfBinaryIq(const QDomElement &element);

protected:
    /// \cond
    void parseElementFromChild(const QDomElement &element) override;
    void toXmlElementFromChild(QXmlStreamWriter *writer) const override;
    /// \endcond
};

#endif  // QXMPPBITSOFBINARYIQ_H