Describes the OS running LeechCraft.
More...
#include "sysinfo.h"
|
QString | Name_ |
| The name of the OS, including the distribution. More...
|
|
QString | Version_ |
| The full version of the OS. More...
|
|
QString | Flavour_ |
| The OS flavour, or name of the OS without any distribution. More...
|
|
QString | Arch_ |
| Describes the CPU architecture of the OS. More...
|
|
Describes the OS running LeechCraft.
Definition at line 49 of file sysinfo.h.
◆ OSInfo() [1/2]
LeechCraft::Util::SysInfo::OSInfo::OSInfo |
( |
const QString & |
arch, |
|
|
const QString & |
name, |
|
|
const QString & |
version |
|
) |
| |
Constructs the OSInfo object.
Sets both the Name_ and the Flavour_ of the OS to name.
- Parameters
-
[in] | arch | Initializer for the Arch_ field. |
[in] | name | Initializer for the Name_ and Flavour_ fields. |
[in] | version | Initializer for the Version_ field. |
Definition at line 47 of file sysinfo.cpp.
◆ OSInfo() [2/2]
LeechCraft::Util::SysInfo::OSInfo::OSInfo |
( |
const QString & |
arch, |
|
|
const QString & |
flavour, |
|
|
const QString & |
name, |
|
|
const QString & |
version |
|
) |
| |
Constructs the OSInfo object.
- Parameters
-
[in] | arch | Initializer for the Arch_ field. |
[in] | flavour | Initializer for the Flavour_ field. |
[in] | name | Initializer for the Name_ field. |
[in] | version | Initializer for the Version_ field. |
Definition at line 52 of file sysinfo.cpp.
◆ Arch_
QString LeechCraft::Util::SysInfo::OSInfo::Arch_ |
Describes the CPU architecture of the OS.
This describes the architecture of the OS, not the machine itself. Thus, a 32-bit Linux running on a 64-bit CPU will still be reported as x86 instead of x86_64.
Definition at line 95 of file sysinfo.h.
◆ Flavour_
QString LeechCraft::Util::SysInfo::OSInfo::Flavour_ |
The OS flavour, or name of the OS without any distribution.
Typical values are:
- Linux
- Mac OS X
- Windows
- FreeBSD
On non-Linux systems this typically matches the Name_ field.
- See also
- Name_
Definition at line 87 of file sysinfo.h.
◆ Name_
QString LeechCraft::Util::SysInfo::OSInfo::Name_ |
The name of the OS, including the distribution.
Typical values are:
- Gentoo/Linux
- openSUSE 13.1 (Bottle) (x86_64)
- Mac OS X
- Windows
On non-Linux systems this field typically matches the Flavour_ field. On Linux it also includes the distribution name and possibly version.
- See also
- Flavour_
Definition at line 65 of file sysinfo.h.
◆ Version_
QString LeechCraft::Util::SysInfo::OSInfo::Version_ |
The full version of the OS.
This possibly includes the architecture, the OS release and OS-dependent version components like kernel version on Linux.
Definition at line 72 of file sysinfo.h.
The documentation for this struct was generated from the following files:
- /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-10870-g558588d6ec/src/util/sys/sysinfo.h
- /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-10870-g558588d6ec/src/util/sys/sysinfo.cpp