mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
Remove global allchans, use CServiceManager and CZapit.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1650 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -40,13 +40,13 @@
|
||||
#include <gui/widget/stringinput.h>
|
||||
|
||||
#include <zapit/client/zapitclient.h>
|
||||
#include <zapit/zapit.h>
|
||||
|
||||
|
||||
#include <gui/bouquetlist.h>
|
||||
|
||||
extern CBouquetList * bouquetList; /* neutrino.cpp */
|
||||
extern t_channel_id live_channel_id;
|
||||
void addChannelToBouquet(const unsigned int bouquet, const t_channel_id channel_id);
|
||||
extern CBouquetManager *g_bouquetManager;
|
||||
//
|
||||
// -- Add current channel to Favorites-Bouquet
|
||||
@@ -92,7 +92,7 @@ int CFavorites::addChannelToFavorites(bool show_list)
|
||||
channel_id = live_channel_id;
|
||||
|
||||
if(!g_bouquetManager->existsChannelInBouquet(bouquet_id, channel_id)) {
|
||||
addChannelToBouquet(bouquet_id, channel_id);
|
||||
CZapit::getInstance()->addChannelToBouquet(bouquet_id, channel_id);
|
||||
status |= 2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user