eitd/sectionsdclient: remove unused commands

This commit is contained in:
[CST] Focus
2012-02-03 16:48:30 +04:00
parent 4ab1f083cf
commit faacdd32df
4 changed files with 3 additions and 507 deletions

View File

@@ -53,21 +53,8 @@ struct sectionsd
enum commands
{
/* actualEPGchannelName=0,*/
dummy1,
dummy3, //actualEventListTVshort, // commandEventListTV
/*currentNextInformation,*/
dummy2,
dumpStatusinformation, // commandDumpStatusInformation
/*allEventsChannelName,*/
allEventsChannelIDSearch, // commandAllEventsChannelIDSearch
dummy4, // setHoursToCache,
dummy5, // setHoursExtendedCache,
dummy6, // setEventsAreOldInMinutes,
dummy7, // dumpAllServices, // commandDumpAllServices
dummy8, // actualEventListRadioshort, // commandEventListRadio
dummy9, // getNextEPG, // commandGetNextEPG
dummy10,// getNextShort, // commandGetNextShort
pauseScanning, // commandPauseScanning // for the grabbers ;)
getIsScanningActive, // commandGetIsScanningActive
actualEPGchannelID, // commandActualEPGchannelID
@@ -79,11 +66,9 @@ struct sectionsd
ComponentTagsUniqueKey, // commandComponentTagsUniqueKey
allEventsChannelID_, // commandAllEventsChannelID
timesNVODservice, // commandTimesNVODservice
getEPGPrevNext, // commandGetEPGPrevNext
getIsTimeSet, // commandGetIsTimeSet
serviceChanged, // commandserviceChanged
LinkageDescriptorsUniqueKey, // commandLinkageDescriptorsUniqueKey
pauseSorting, // commandPauseSorting
CMD_registerEvents, // commandRegisterEventClient
CMD_unregisterEvents, // commandUnRegisterEventClient
#ifdef ENABLE_PPT
@@ -91,20 +76,11 @@ struct sectionsd
#else
dummy11_setPrivatePid,
#endif
setSectionsdScanMode, // commandSetSectionsdScanMode
freeMemory, // commandFreeMemory
readSIfromXML, // commandReadSIfromXML
writeSI2XML, // commandWriteSI2XML
LoadLanguages, // commandLoadLanguages
SaveLanguages, // commandSaveLanguages
SetLanguages, // commandSetLanguages
GetLanguages, // commandGetLanguages
SetLanguageMode, // commandSetLanguageMode
GetLanguageMode, // commandGetLanguageMode
setConfig, // commandSetConfig
Restart, // commandRestart
ping,
numberOfCommands // <- no actual command, end of command marker
};

View File

@@ -120,27 +120,6 @@ bool CSectionsdClient::getIsTimeSet()
}
}
#if 0
void CSectionsdClient::setEventsAreOldInMinutes(const unsigned short minutes)
{
send(sectionsd::setEventsAreOldInMinutes, (char*)&minutes, sizeof(minutes));
readResponse();
close_connection();
}
#endif
void CSectionsdClient::setPauseSorting(const bool doPause)
{
int PauseIt = (doPause) ? 1 : 0;
send(sectionsd::pauseSorting, (char*)&PauseIt, sizeof(PauseIt));
readResponse();
close_connection();
}
void CSectionsdClient::setPauseScanning(const bool doPause)
{
int PauseIt = (doPause) ? 1 : 0;
@@ -738,15 +717,6 @@ void CSectionsdClient::setPrivatePid(const unsigned short pid)
close_connection();
}
#endif
#if 0
void CSectionsdClient::setSectionsdScanMode(const int scanMode)
{
send(sectionsd::setSectionsdScanMode, (char*)&scanMode, sizeof(scanMode));
readResponse();
close_connection();
}
#endif
void CSectionsdClient::freeMemory()
{

View File

@@ -174,14 +174,10 @@ class CSectionsdClient : private CBasicClient
bool getIsTimeSet();
// void setEventsAreOldInMinutes(const unsigned short minutes);
void setPauseScanning(const bool doPause);
bool getIsScanningActive();
void setPauseSorting(const bool doPause);
void setServiceChanged(const t_channel_id channel_id, const bool requestEvent);
CChannelEventList getChannelEvents(const bool tv_mode = true, t_channel_id* = NULL, int size = 0);
@@ -198,8 +194,6 @@ class CSectionsdClient : private CBasicClient
void setPrivatePid(const unsigned short pid);
// void setSectionsdScanMode(const int scanMode);
void freeMemory();
void readSIfromXML(const char * epgxmlname);