LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
LeechCraft::Util::SysInfo Namespace Reference

Namespaces

 Linux
 

Classes

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

Functions

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

Function Documentation

◆ GetOSInfo()

UTIL_SYS_API OSInfo LeechCraft::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 168 of file sysinfo.cpp.

References LeechCraft::Util::SysInfo::Linux::GetEtcName(), LeechCraft::Util::SysInfo::Linux::GetEtcOsName(), and LeechCraft::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 LeechCraft::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 61 of file sysinfo.cpp.

References GetOSInfo().

+ Here is the call graph for this function: