LeechCraft  0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
LC::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 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 168 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 61 of file sysinfo.cpp.

References GetOSInfo().

+ Here is the call graph for this function: