LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::SysInfo Namespace Reference

Namespaces

namespace  Linux

Classes

struct  OSInfo
 Describes the OS running LeechCraft. More...

Functions

QString GetOSName ()
 Returns a string of OS name and version joined together.
OSInfo GetOSInfo ()
 Returns more precise information about OS name and version.

Function Documentation

◆ GetOSInfo()

UTIL_SYS_API OSInfo LC::Util::SysInfo::GetOSInfo ( )

Returns more precise information about OS name and version.

Returns
A structure OSInfo consisting of OS name, version and other fields.

Definition at line 122 of file sysinfo.cpp.

References LC::Util::SysInfo::Linux::GetEtcName(), LC::Util::SysInfo::Linux::GetEtcOsName(), and LC::Util::SysInfo::Linux::GetLSBName().

Referenced by GetOSName().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOSName()

UTIL_SYS_API QString LC::Util::SysInfo::GetOSName ( )

Returns a string of OS name and version joined together.

Returns
The name and version of OS running LeechCraft.

Definition at line 21 of file sysinfo.cpp.

References GetOSInfo().

Here is the call graph for this function: