lib/sectionsdclient: add EVT_EIT_COMPLETE event,

add demux number to setServiceChanged()
This commit is contained in:
[CST] Focus
2013-06-12 18:17:24 +04:00
parent 587db33bbd
commit 5ed5b6d200
3 changed files with 5 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ struct sectionsd
{
t_channel_id channel_id;
bool requestEvent;
int dnum;
};
struct responseIsTimeSet

View File

@@ -147,12 +147,13 @@ bool CSectionsdClient::getIsScanningActive()
}
}
void CSectionsdClient::setServiceChanged(const t_channel_id channel_id, const bool requestEvent)
void CSectionsdClient::setServiceChanged(const t_channel_id channel_id, const bool requestEvent, int dnum)
{
sectionsd::commandSetServiceChanged msg;
msg.channel_id = channel_id;
msg.requestEvent = requestEvent;
msg.dnum = dnum;
send(sectionsd::serviceChanged, (char *)&msg, sizeof(msg));

View File

@@ -79,6 +79,7 @@ class CSectionsdClient : private CBasicClient
{
EVT_TIMESET,
EVT_GOT_CN_EPG,
EVT_EIT_COMPLETE,
#if 0
EVT_SERVICES_UPDATE,
EVT_BOUQUETS_UPDATE,
@@ -180,7 +181,7 @@ class CSectionsdClient : private CBasicClient
bool getIsTimeSet();
void setPauseScanning(const bool doPause);
void setServiceChanged(const t_channel_id channel_id, const bool requestEvent);
void setServiceChanged(const t_channel_id channel_id, const bool requestEvent, int dnum = 0);
bool getIsScanningActive();