mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
imageinfo: outsource hal info init into own member
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9f4b65d076
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-10-26 (Mon, 26 Oct 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -377,6 +377,18 @@ void CImageInfo::InitInfoData()
|
||||
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), PACKAGE_VERSION_GIT});
|
||||
#endif
|
||||
|
||||
//stb info
|
||||
initHalInfo();
|
||||
|
||||
//internal api versions
|
||||
initAPIVersions();
|
||||
|
||||
//support infos
|
||||
initSupportInfo();
|
||||
}
|
||||
|
||||
void CImageInfo::initHalInfo()
|
||||
{
|
||||
#if USE_STB_HAL
|
||||
hal_libversion_t ver;
|
||||
hal_get_lib_version(&ver);
|
||||
@@ -385,12 +397,6 @@ void CImageInfo::InitInfoData()
|
||||
//libstb-hal git status
|
||||
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), ver.vGitDescribe});
|
||||
#endif
|
||||
|
||||
//internal api versions
|
||||
initAPIVersions();
|
||||
|
||||
//support infos
|
||||
initSupportInfo();
|
||||
}
|
||||
|
||||
void CImageInfo::initSupportInfo()
|
||||
|
@@ -58,6 +58,7 @@ class CImageInfo : public CMenuTarget
|
||||
void InitMinitv();
|
||||
void InitInfos();
|
||||
void InitBuildInfos();
|
||||
void initHalInfo();
|
||||
void InitInfoText(const std::string& text);
|
||||
void initSupportInfo();
|
||||
void initAPIVersions();
|
||||
|
Reference in New Issue
Block a user