infoviewer: Updated naming convention to consistently indicate return values

'getter' methods do convey a return value,
but getLiveStreamInfo() returns nothing, therefore we should use
a more appropriate name, such as 'initialize'
or 'modify', improving code clarity and adherence
to best practices.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 16f0d6c6c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2023-04-12 (Wed, 12 Apr 2023)



------------------
This commit was generated by Migit
This commit is contained in:
2023-04-12 23:13:55 +02:00
committed by vanhofen
parent e24e1d0527
commit f2f046f62e
2 changed files with 4 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ class CInfoViewer : public sigc::trackable
void reset_allScala();
void check_channellogo_ca_SettingsChange();
void sendNoEpg(const t_channel_id channel_id);
void getLivestreamInfo();
void initLiveStreamInfo();
bool showLivestreamInfo();
CComponentsWindowMax *ecmInfoBox; //NI
@@ -217,7 +217,7 @@ class CInfoViewer : public sigc::trackable
int getSwitchMode() {return zap_mode;}
void resetSwitchMode() {setSwitchMode(IV_MODE_DEFAULT);}
void get_livestreamInfo() { getLivestreamInfo(); }
void get_livestreamInfo() { initLiveStreamInfo(); }
std::string get_livestreamInfo1() { return _livestreamInfo1; }
std::string get_livestreamInfo2() { return _livestreamInfo2; }