QXmpp Version: 1.10.0
QXmppSasl2UserAgent.h
1// SPDX-FileCopyrightText: 2024 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPSASL2USERAGENT_H
6#define QXMPPSASL2USERAGENT_H
7
8#include "QXmppGlobal.h"
9
10#include <QSharedDataPointer>
11#include <QUuid>
12
13struct QXmppSasl2UserAgentPrivate;
14
15class QXMPP_EXPORT QXmppSasl2UserAgent
16{
17public:
18 QXmppSasl2UserAgent();
19 QXmppSasl2UserAgent(QUuid deviceId, const QString &softwareName, const QString &deviceName);
20
21 QXMPP_PRIVATE_DECLARE_RULE_OF_SIX(QXmppSasl2UserAgent)
22
23 QUuid deviceId() const;
24 void setDeviceId(QUuid);
25
26 const QString &softwareName() const;
27 void setSoftwareName(const QString &);
28
29 const QString &deviceName() const;
30 void setDeviceName(const QString &);
31
32private:
33 QSharedDataPointer<QXmppSasl2UserAgentPrivate> d;
34};
35
36#endif // QXMPPSASL2USERAGENT_H