gui/infoviewer.cpp: add showTitle for t_channel_id and CZapitChannel

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c5e1e9948
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-13 (Tue, 13 Mar 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-03-13 20:29:44 +04:00
parent f26f17de30
commit 5dcf3df49c
2 changed files with 18 additions and 0 deletions

View File

@@ -659,6 +659,21 @@ void CInfoViewer::check_channellogo_ca_SettingsChange()
}
}
void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap, int epgpos)
{
showTitle(channel->number, channel->getName(), channel->getSatellitePosition(),
channel->getChannelID(), calledFromNumZap, epgpos);
}
void CInfoViewer::showTitle(t_channel_id chid, const bool calledFromNumZap, int epgpos)
{
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(chid);
if(channel) {
showTitle(channel->number, channel->getName(), channel->getSatellitePosition(),
channel->getChannelID(), calledFromNumZap, epgpos);
}
}
void CInfoViewer::showTitle (const int ChanNum, const std::string & Channel, const t_satellite_position satellitePosition, const t_channel_id new_channel_id, const bool calledFromNumZap, int epgpos)
{
check_channellogo_ca_SettingsChange();