mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
CServiceManager: add member GetCurrentChannel()
Shortcut for CZapit::getInstance()->GetCurrentChannel() inside
CServiceManager
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1de277effe
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-11-12 (Sun, 12 Nov 2017)
------------------
This commit was generated by Migit
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