mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
lib/sectionsdclient: add EVT_EIT_COMPLETE event,
add demux number to setServiceChanged()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5ed5b6d200
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -81,6 +81,7 @@ struct sectionsd
|
||||
{
|
||||
t_channel_id channel_id;
|
||||
bool requestEvent;
|
||||
int dnum;
|
||||
};
|
||||
|
||||
struct responseIsTimeSet
|
||||
|
@@ -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));
|
||||
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user