1 // Copyright 2005-2019 The Mumble Developers. All rights reserved.
2 // Use of this source code is governed by a BSD-style license
3 // that can be found in the LICENSE file at the root of the
4 // Mumble source tree or at <https://www.mumble.info/LICENSE>.
5 
6 #ifndef MUMBLE_OSINFO_H_
7 #define MUMBLE_OSINFO_H_
8 
9 class QDomDocument;
10 class QDomElement;
11 
12 class OSInfo {
13 	public:
14 		static QString getMacHash(const QList<QHostAddress> & = QList<QHostAddress>());
15 		static QString getOS();
16 		static QString getOSVersion();
17 		static QString getOSDisplayableVersion();
18 		static void fillXml(QDomDocument &doc, QDomElement &root, const QString &os = OSInfo::getOS(), const QString &osver = OSInfo::getOSVersion(), const QList<QHostAddress> & = QList<QHostAddress>());
19 };
20 
21 #endif
22