mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
zapit/src/zapit.cpp: comment unused CZapitMessages::CMD_GET_BOUQUET_NCHANNELS
This commit is contained in:
@@ -145,18 +145,6 @@ void CZapit::SendEvent(const unsigned int eventID, const void* eventbody, const
|
|||||||
void CZapit::SaveSettings(bool write)
|
void CZapit::SaveSettings(bool write)
|
||||||
{
|
{
|
||||||
if (current_channel) {
|
if (current_channel) {
|
||||||
#if 0
|
|
||||||
// now save the lowest channel number with the current channel_id
|
|
||||||
int c = ((currentMode & RADIO_MODE) ? g_bouquetManager->radioChannelsBegin() : g_bouquetManager->tvChannelsBegin()).getLowestChannelNumberWithChannelID(current_channel->getChannelID());
|
|
||||||
//printf("LAST CHAN %d !!!!!!!!!!!\n\n\n", c);
|
|
||||||
//FIXME save last TV/RADIO channel id, always ?
|
|
||||||
if (c >= 0) {
|
|
||||||
if ((currentMode & RADIO_MODE))
|
|
||||||
lastChannelRadio = c;
|
|
||||||
else
|
|
||||||
lastChannelTV = c;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
if ((currentMode & RADIO_MODE))
|
if ((currentMode & RADIO_MODE))
|
||||||
lastChannelRadio = current_channel->getChannelID();
|
lastChannelRadio = current_channel->getChannelID();
|
||||||
else
|
else
|
||||||
@@ -924,13 +912,14 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
|||||||
sendBouquetChannels(connfd, msgGetBouquetChannels.bouquet, msgGetBouquetChannels.mode, false); // bouquet & channel number are already starting at 0!
|
sendBouquetChannels(connfd, msgGetBouquetChannels.bouquet, msgGetBouquetChannels.mode, false); // bouquet & channel number are already starting at 0!
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
case CZapitMessages::CMD_GET_BOUQUET_NCHANNELS: {
|
case CZapitMessages::CMD_GET_BOUQUET_NCHANNELS: {
|
||||||
CZapitMessages::commandGetBouquetChannels msgGetBouquetChannels;
|
CZapitMessages::commandGetBouquetChannels msgGetBouquetChannels;
|
||||||
CBasicServer::receive_data(connfd, &msgGetBouquetChannels, sizeof(msgGetBouquetChannels));
|
CBasicServer::receive_data(connfd, &msgGetBouquetChannels, sizeof(msgGetBouquetChannels));
|
||||||
sendBouquetChannels(connfd, msgGetBouquetChannels.bouquet, msgGetBouquetChannels.mode, true); // bouquet & channel number are already starting at 0!
|
sendBouquetChannels(connfd, msgGetBouquetChannels.bouquet, msgGetBouquetChannels.mode, true); // bouquet & channel number are already starting at 0!
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
case CZapitMessages::CMD_GET_CHANNELS: {
|
case CZapitMessages::CMD_GET_CHANNELS: {
|
||||||
CZapitMessages::commandGetChannels msgGetChannels;
|
CZapitMessages::commandGetChannels msgGetChannels;
|
||||||
CBasicServer::receive_data(connfd, &msgGetChannels, sizeof(msgGetChannels));
|
CBasicServer::receive_data(connfd, &msgGetChannels, sizeof(msgGetChannels));
|
||||||
|
Reference in New Issue
Block a user