Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ServerResolverRecord.h « src - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 689f3c765769bbfc85d23dbdd28fdfeb4bda7536 (plain)
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
27
28
29
30
31
// Copyright 2017-2021 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#ifndef MUMBLE_MUMBLE_SERVERRESOLVERRECORD_H_
#define MUMBLE_MUMBLE_SERVERRESOLVERRECORD_H_

#include <QtCore/QList>
#include <QtCore/QString>

#include "Net.h" // for HostAddress

class ServerResolverRecord {
public:
	ServerResolverRecord();
	ServerResolverRecord(QString hostname_, quint16 port_, qint64 priority_, QList< HostAddress > addresses_);

	QString hostname();
	quint16 port();
	qint64 priority();
	QList< HostAddress > addresses();

protected:
	QString m_hostname;
	quint16 m_port;
	qint64 m_priority;
	QList< HostAddress > m_addresses;
};

#endif