blob: 6f6e0e26fb4338dd0a3d42e310a8a5780a90f0f7 (
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
|
// Copyright 2005-2019 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_OSINFO_H_
#define MUMBLE_OSINFO_H_
#include <QtCore/QList>
#include <QtCore/QString>
class QDomDocument;
class QDomElement;
class QHostAddress;
class OSInfo {
public:
static QString getMacHash(const QList<QHostAddress> & = QList<QHostAddress>());
static QString getOS();
static QString getOSVersion();
static QString getOSDisplayableVersion();
static void fillXml(QDomDocument &doc, QDomElement &root, const QString &os = OSInfo::getOS(), const QString &osver = OSInfo::getOSVersion(), const QList<QHostAddress> & = QList<QHostAddress>());
};
#endif
|