LeechCraft  %{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
LeechCraft::Util::SysInfo Namespace Reference

Namespaces

 Linux
 

Typedefs

typedef QPair< QString, QString > SplitInfo_t
 

Functions

QString GetOSName ()
 Returns a string of OS name and version joined together. More...
 
QPair< QString, QString > GetOSNameSplit ()
 Returns a pair of OS name and version. More...
 

Typedef Documentation

typedef QPair<QString, QString> LeechCraft::Util::SysInfo::SplitInfo_t

Definition at line 53 of file sysinfo.cpp.

Function Documentation

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 47 of file sysinfo.cpp.

References GetOSNameSplit().

+ Here is the call graph for this function:

UTIL_SYS_API QPair< QString, QString > LeechCraft::Util::SysInfo::GetOSNameSplit ( )

Returns a pair of OS name and version.

Returns
A pair consisting of operating system name and version.

Definition at line 158 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: