LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
sysinfo.h
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#pragma once
10
11
#include <QString>
12
#include "
sysconfig.h
"
13
14
namespace
LC::Util::SysInfo
15
{
20
UTIL_SYS_API
QString
GetOSName
();
21
24
struct
OSInfo
25
{
32
QString
Arch_
;
33
48
QString
Name_
;
49
55
QString
Version_
;
56
70
QString
Flavour_
;
71
};
72
78
UTIL_SYS_API
OSInfo
GetOSInfo
();
79
}
UTIL_SYS_API
#define UTIL_SYS_API
Definition:
sysconfig.h:16
LC::Util::SysInfo::OSInfo::Version_
QString Version_
The full version of the OS.
Definition:
sysinfo.h:61
LC::Util::SysInfo::GetOSName
QString GetOSName()
Returns a string of OS name and version joined together.
Definition:
sysinfo.cpp:27
LC::Util::SysInfo::GetOSInfo
OSInfo GetOSInfo()
Returns more precise information about OS name and version.
Definition:
sysinfo.cpp:130
LC::Util::SysInfo::OSInfo::Name_
QString Name_
The name of the OS, including the distribution.
Definition:
sysinfo.h:54
LC::Util::SysInfo::OSInfo::Flavour_
QString Flavour_
The OS flavour, or name of the OS without any distribution.
Definition:
sysinfo.h:76
sysconfig.h
LC::Util::SysInfo
Definition:
sysinfo.cpp:19
LC::Util::SysInfo::OSInfo::Arch_
QString Arch_
Describes the CPU architecture of the OS.
Definition:
sysinfo.h:38
src
util
sys
sysinfo.h
Generated by
1.8.17