mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
Remove globals and use new zapit class members
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1698 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 6c6c2e9b29
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-09-18 (Sun, 18 Sep 2011)
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
#include <gui/bouquetlist.h>
|
||||
|
||||
extern CBouquetList * bouquetList; /* neutrino.cpp */
|
||||
extern t_channel_id live_channel_id;
|
||||
extern CBouquetManager *g_bouquetManager;
|
||||
//
|
||||
// -- Add current channel to Favorites-Bouquet
|
||||
@@ -88,8 +87,7 @@ int CFavorites::addChannelToFavorites(bool show_list)
|
||||
}
|
||||
}
|
||||
|
||||
//channel_id = g_Zapit->getCurrentServiceID();
|
||||
channel_id = live_channel_id;
|
||||
channel_id = CZapit::getInstance()->GetCurrentChannelID();;
|
||||
|
||||
if(!g_bouquetManager->existsChannelInBouquet(bouquet_id, channel_id)) {
|
||||
CZapit::getInstance()->addChannelToBouquet(bouquet_id, channel_id);
|
||||
|
Reference in New Issue
Block a user