From 145a751dbec8415a3f29079bc829f48c6f675409 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 10 Apr 2012 16:38:11 +0400 Subject: [PATCH] zapit/include/zapit/zapit.h: add functions to get last tv/radio channels --- src/zapit/include/zapit/zapit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zapit/include/zapit/zapit.h b/src/zapit/include/zapit/zapit.h index f81e8105f..a89172b67 100644 --- a/src/zapit/include/zapit/zapit.h +++ b/src/zapit/include/zapit/zapit.h @@ -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; };