mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +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,
|
CZapitChannel* FindChannelFuzzy(const t_channel_id channel_id,
|
||||||
const t_satellite_position pos, const freq_id_t freq);
|
const t_satellite_position pos, const freq_id_t freq);
|
||||||
|
|
||||||
|
CZapitChannel * GetCurrentChannel(void);
|
||||||
|
|
||||||
std::string GetServiceName(t_channel_id channel_id);
|
std::string GetServiceName(t_channel_id channel_id);
|
||||||
|
|
||||||
tallchans* GetAllChannels(){ return &allchans; };
|
tallchans* GetAllChannels(){ return &allchans; };
|
||||||
|
@@ -262,6 +262,11 @@ CZapitChannel* CServiceManager::FindChannelFuzzy(const t_channel_id channel_id,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CZapitChannel* CServiceManager::GetCurrentChannel(void)
|
||||||
|
{
|
||||||
|
return CZapit::getInstance()->GetCurrentChannel();
|
||||||
|
}
|
||||||
|
|
||||||
bool CServiceManager::GetAllRadioChannels(ZapitChannelList &list, int flags)
|
bool CServiceManager::GetAllRadioChannels(ZapitChannelList &list, int flags)
|
||||||
{
|
{
|
||||||
list.clear();
|
list.clear();
|
||||||
|
Reference in New Issue
Block a user