SystemInfo.cpp (xbmc-18.7.1-Leia) | : | SystemInfo.cpp (xbmc-18.8-Leia) | ||
---|---|---|---|---|
skipping to change at line 1241 | skipping to change at line 1241 | |||
std::string CSysInfo::GetVersionShort() | std::string CSysInfo::GetVersionShort() | |||
{ | { | |||
if (strlen(CCompileInfo::GetSuffix()) == 0) | if (strlen(CCompileInfo::GetSuffix()) == 0) | |||
return StringUtils::Format("%d.%d", CCompileInfo::GetMajor(), CCompileInfo:: GetMinor()); | return StringUtils::Format("%d.%d", CCompileInfo::GetMajor(), CCompileInfo:: GetMinor()); | |||
else | else | |||
return StringUtils::Format("%d.%d-%s", CCompileInfo::GetMajor(), CCompileInf o::GetMinor(), CCompileInfo::GetSuffix()); | return StringUtils::Format("%d.%d-%s", CCompileInfo::GetMajor(), CCompileInf o::GetMinor(), CCompileInfo::GetSuffix()); | |||
} | } | |||
std::string CSysInfo::GetVersion() | std::string CSysInfo::GetVersion() | |||
{ | { | |||
return GetVersionShort() + " Git:" + CCompileInfo::GetSCMID(); | return GetVersionShort() + " (" + CCompileInfo::GetVersionCode() + ")" + | |||
" Git:" + CCompileInfo::GetSCMID(); | ||||
} | } | |||
std::string CSysInfo::GetBuildDate() | std::string CSysInfo::GetBuildDate() | |||
{ | { | |||
return CCompileInfo::GetBuildDate(); | return CCompileInfo::GetBuildDate(); | |||
} | } | |||
bool CSysInfo::HasVideoToolBoxDecoder() | bool CSysInfo::HasVideoToolBoxDecoder() | |||
{ | { | |||
#if defined(HAVE_VIDEOTOOLBOXDECODER) | #if defined(HAVE_VIDEOTOOLBOXDECODER) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added |