mumble/src/OSInfo.h
2018-01-01 23:05:37 +01:00

22 lines
762 B
C++

// Copyright 2005-2018 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_
class QDomDocument;
class QDomElement;
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