From 192eb84ba4460ed37fbf40f29ab3dc0f25811afa Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 13 Jun 2012 16:47:38 +0400 Subject: [PATCH] zapit/lib/zapitclient.cpp: comment unused getBouquetNChannels --- src/zapit/include/zapit/client/zapitclient.h | 2 +- src/zapit/lib/zapitclient.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zapit/include/zapit/client/zapitclient.h b/src/zapit/include/zapit/client/zapitclient.h index f4df57f4e..7dd62f0c8 100644 --- a/src/zapit/include/zapit/client/zapitclient.h +++ b/src/zapit/include/zapit/client/zapitclient.h @@ -307,7 +307,7 @@ class CZapitClient:public CBasicClient /* gets all channels that are in specified bouquet */ /* bouquets are numbered starting at 0 */ bool getBouquetChannels(const unsigned int bouquet, BouquetChannelList& channels, const channelsMode mode = MODE_CURRENT, const bool utf_encoded = false); - bool getBouquetNChannels(const unsigned int bouquet, BouquetNChannelList& channels, const channelsMode mode = MODE_CURRENT, const bool utf_encoded = false); + //bool getBouquetNChannels(const unsigned int bouquet, BouquetNChannelList& channels, const channelsMode mode = MODE_CURRENT, const bool utf_encoded = false); /* gets all channels */ bool getChannels(BouquetChannelList& channels, const channelsMode mode = MODE_CURRENT, const channelsOrder order = SORT_BOUQUET, const bool utf_encoded = false); diff --git a/src/zapit/lib/zapitclient.cpp b/src/zapit/lib/zapitclient.cpp index a59bafe5b..7fd705509 100644 --- a/src/zapit/lib/zapitclient.cpp +++ b/src/zapit/lib/zapitclient.cpp @@ -392,6 +392,7 @@ bool CZapitClient::getBouquetChannels(const unsigned int bouquet, BouquetChannel return return_value; } +#if 0 bool CZapitClient::getBouquetNChannels(const unsigned int bouquet, BouquetNChannelList& channels, channelsMode mode, const bool /*utf_encoded*/) { bool return_value; @@ -405,6 +406,7 @@ bool CZapitClient::getBouquetNChannels(const unsigned int bouquet, BouquetNChann close_connection(); return return_value; } +#endif /* gets all channels */ bool CZapitClient::getChannels( BouquetChannelList& channels, channelsMode mode, channelsOrder order, const bool utf_encoded) {