mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
CServiceManager: add member GetCurrentChannel()
Shortcut for CZapit::getInstance()->GetCurrentChannel() inside CServiceManager
This commit is contained in:
@@ -134,6 +134,8 @@ class CServiceManager
|
||||
CZapitChannel* FindChannelFuzzy(const t_channel_id channel_id,
|
||||
const t_satellite_position pos, const freq_id_t freq);
|
||||
|
||||
CZapitChannel * GetCurrentChannel(void);
|
||||
|
||||
std::string GetServiceName(t_channel_id channel_id);
|
||||
|
||||
tallchans* GetAllChannels(){ return &allchans; };
|
||||
|
@@ -262,6 +262,11 @@ CZapitChannel* CServiceManager::FindChannelFuzzy(const t_channel_id channel_id,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
CZapitChannel* CServiceManager::GetCurrentChannel(void)
|
||||
{
|
||||
return CZapit::getInstance()->GetCurrentChannel();
|
||||
}
|
||||
|
||||
bool CServiceManager::GetAllRadioChannels(ZapitChannelList &list, int flags)
|
||||
{
|
||||
list.clear();
|
||||
|
Reference in New Issue
Block a user