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

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mumble/ServerInformation.h')
-rw-r--r--src/mumble/ServerInformation.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/mumble/ServerInformation.h b/src/mumble/ServerInformation.h
new file mode 100644
index 000000000..41669b5d4
--- /dev/null
+++ b/src/mumble/ServerInformation.h
@@ -0,0 +1,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_