use CEitManager to get EIT data

This commit is contained in:
[CST] Focus
2012-08-30 11:40:02 +04:00
parent 6c9a949c69
commit 74a761ef50
15 changed files with 76 additions and 152 deletions

View File

@@ -39,6 +39,7 @@
#include <zapit/zapit.h>
#include <zapit/bouquets.h>
#include <zapit/getservices.h>
#include <eitd/sectionsd.h>
extern CBouquetManager *g_bouquetManager;
extern CFrontend * frontend;
@@ -54,8 +55,6 @@ extern CZapitClient::SatelliteList satList;
// nhttpd
#include "neutrinoapi.h"
void sectionsd_getChannelEvents(CChannelEventList &eList, const bool tv_mode = true, t_channel_id *chidlist = NULL, int clen = 0);
//=============================================================================
// No Class Helpers
//=============================================================================
@@ -259,7 +258,7 @@ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
bool CNeutrinoAPI::GetChannelEvents(void)
{
sectionsd_getChannelEvents(eList);
CEitManager::getInstance()->getChannelEvents(eList);
CChannelEventList::iterator eventIterator;
ChannelListEvents.clear();