mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
zapit/include/zapit/zapit.h: add functions to get last tv/radio channels
Origin commit data
------------------
Commit: 145a751dbe
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-10 (Tue, 10 Apr 2012)
This commit is contained in:
@@ -206,6 +206,8 @@ class CZapit : public OpenThreads::Thread
|
||||
|
||||
CZapitChannel * GetCurrentChannel() { return current_channel; };
|
||||
t_channel_id GetCurrentChannelID() { return live_channel_id; };
|
||||
t_channel_id GetLastTVChannel() { return lastChannelTV; }
|
||||
t_channel_id GetLastRADIOChannel() { return lastChannelRadio; }
|
||||
void SetCurrentChannelID(const t_channel_id channel_id) { live_channel_id = channel_id; };
|
||||
void SetLiveFrontend(CFrontend * fe) { if(fe) live_fe = fe; }
|
||||
CFrontend * GetLiveFrontend() { return live_fe; };
|
||||
|
Reference in New Issue
Block a user