blob: 41669b5d49297c503392073bbafa2d4e7ed24fae (
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
32
33
34
35
36
37
|
// Copyright 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_SERVERINFORMATION_H_
#define MUMBLE_MUMBLE_SERVERINFORMATION_H_
#include <QDialog>
#include "ui_ServerInformation.h"
class Connection;
class ServerInformation : public QDialog, private Ui::ServerInformation {
Q_OBJECT;
Q_DISABLE_COPY(ServerInformation);
public:
ServerInformation(QWidget *parent = nullptr);
void updateFields();
public slots:
void on_okButton_clicked();
void on_viewCertButton_clicked();
private:
static QString m_unknownStr;
void updateServerInformation();
void updateAudioBandwidth();
void updateConnectionDetails();
void populateUDPStatistics(const Connection &connection);
};
#endif // MUMBLE_MUMBLE_SERVERINFORMATION_H_
|