mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
gui/infoviewer.cpp: add showTitle for t_channel_id and CZapitChannel
This commit is contained in:
@@ -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();
|
||||
|
@@ -43,6 +43,7 @@
|
||||
#include "widget/menue.h"
|
||||
#include <gui/widget/progressbar.h>
|
||||
#include <string>
|
||||
#include <zapit/channel.h>
|
||||
|
||||
class CInfoViewer
|
||||
{
|
||||
@@ -176,6 +177,8 @@ class CInfoViewer
|
||||
void start();
|
||||
void showEpgInfo();
|
||||
void showTitle(const int ChanNum, const std::string & Channel, const t_satellite_position satellitePosition, const t_channel_id new_channel_id = 0, const bool calledFromNumZap = false, int epgpos = 0); // Channel must be UTF-8 encoded
|
||||
void showTitle(CZapitChannel * channel, const bool calledFromNumZap = false, int epgpos = 0);
|
||||
void showTitle(t_channel_id channel_id, const bool calledFromNumZap = false, int epgpos = 0);
|
||||
void lookAheadEPG(const int ChanNum, const std::string & Channel, const t_channel_id new_channel_id = 0, const bool calledFromNumZap = false); //alpha: fix for nvod subchannel update
|
||||
void killTitle();
|
||||
CSectionsdClient::CurrentNextInfo getEPG(const t_channel_id for_channel_id, CSectionsdClient::CurrentNextInfo &info);
|
||||
|
Reference in New Issue
Block a user