1/*
2 This file is part of the KDE project
3
4 SPDX-FileCopyrightText: 2004, 2007 Jakub Stachowski <qbast@go2.pl>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#ifndef SERVICEBASE_P_H
10#define SERVICEBASE_P_H
11
12#include <QMap>
13#include <QString>
14
15namespace KDNSSD
16{
17class ServiceBasePrivate
18{
19public:
20 ServiceBasePrivate(const QString &name, const QString &type, const QString &domain, const QString &host, unsigned short port)
21 : m_serviceName(name)
22 , m_type(type)
23 , m_domain(domain)
24 , m_hostName(host)
25 , m_port(port)
26 {
27 }
28
29 virtual ~ServiceBasePrivate()
30 {
31 }
32
33 QString m_serviceName;
34 QString m_type;
35 QString m_domain;
36 QString m_hostName;
37 unsigned short m_port;
38
39 /**
40 Map of TXT properties
41 */
42 QMap<QString, QByteArray> m_textData;
43};
44}
45#endif
46

source code of kdnssd/src/servicebase_p.h