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:
2020-10-26 21:50:08 +01:00
committed by vanhofen
parent 2a7d3f1059
commit 8d3af4965b
2 changed files with 13 additions and 6 deletions

View File

@@ -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()

View File

@@ -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();