mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
imageinfo: outsource support info init into own member
This commit is contained in:
@@ -389,6 +389,12 @@ void CImageInfo::InitInfoData()
|
||||
//internal api versions
|
||||
initAPIVersions();
|
||||
|
||||
//support infos
|
||||
initSupportInfo();
|
||||
}
|
||||
|
||||
void CImageInfo::initSupportInfo()
|
||||
{
|
||||
//www
|
||||
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_HOMEPAGE), config.getString("homepage", PACKAGE_URL)});
|
||||
//doc
|
||||
|
@@ -59,6 +59,7 @@ class CImageInfo : public CMenuTarget
|
||||
void InitInfos();
|
||||
void InitBuildInfos();
|
||||
void InitInfoText(const std::string& text);
|
||||
void initSupportInfo();
|
||||
void initAPIVersions();
|
||||
std::string getLicenseText();
|
||||
std::string getPolicyText();
|
||||
|
Reference in New Issue
Block a user