lib/sectionsdclient: add EVT_EIT_COMPLETE event,

add demux number to setServiceChanged()


Origin commit data
------------------
Commit: 5ed5b6d200
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
This commit is contained in:
[CST] Focus
2013-06-12 18:17:24 +04:00
parent 6d6a3336ca
commit e9b3a3625b
3 changed files with 5 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ struct sectionsd
{ {
t_channel_id channel_id; t_channel_id channel_id;
bool requestEvent; bool requestEvent;
int dnum;
}; };
struct responseIsTimeSet 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; sectionsd::commandSetServiceChanged msg;
msg.channel_id = channel_id; msg.channel_id = channel_id;
msg.requestEvent = requestEvent; msg.requestEvent = requestEvent;
msg.dnum = dnum;
send(sectionsd::serviceChanged, (char *)&msg, sizeof(msg)); send(sectionsd::serviceChanged, (char *)&msg, sizeof(msg));

View File

@@ -79,6 +79,7 @@ class CSectionsdClient : private CBasicClient
{ {
EVT_TIMESET, EVT_TIMESET,
EVT_GOT_CN_EPG, EVT_GOT_CN_EPG,
EVT_EIT_COMPLETE,
#if 0 #if 0
EVT_SERVICES_UPDATE, EVT_SERVICES_UPDATE,
EVT_BOUQUETS_UPDATE, EVT_BOUQUETS_UPDATE,
@@ -180,7 +181,7 @@ class CSectionsdClient : private CBasicClient
bool getIsTimeSet(); bool getIsTimeSet();
void setPauseScanning(const bool doPause); 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(); bool getIsScanningActive();