zapit/src/bouquets.cpp: comment unused code

This commit is contained in:
[CST] Focus
2012-06-13 16:47:04 +04:00
parent 343a2b9492
commit fc54ceced9
2 changed files with 7 additions and 1 deletions

View File

@@ -50,8 +50,10 @@ class CZapitBouquet
void moveService (const unsigned int oldPosition, const unsigned int newPosition, const unsigned char serviceType); void moveService (const unsigned int oldPosition, const unsigned int newPosition, const unsigned char serviceType);
#if 0
size_t recModeRadioSize(const transponder_id_t transponder_id); size_t recModeRadioSize(const transponder_id_t transponder_id);
size_t recModeTVSize (const transponder_id_t transponder_id); size_t recModeTVSize (const transponder_id_t transponder_id);
#endif
CZapitChannel* getChannelByChannelID(const t_channel_id channel_id, const unsigned char serviceType = ST_RESERVED); CZapitChannel* getChannelByChannelID(const t_channel_id channel_id, const unsigned char serviceType = ST_RESERVED);
void sortBouquet(void); void sortBouquet(void);
void sortBouquetByNumber(void); void sortBouquetByNumber(void);
@@ -89,7 +91,7 @@ class CBouquetManager
ChannelIterator operator ++(int); ChannelIterator operator ++(int);
CZapitChannel* operator *(); CZapitChannel* operator *();
ChannelIterator FindChannelNr(const unsigned int channel); ChannelIterator FindChannelNr(const unsigned int channel);
int getLowestChannelNumberWithChannelID(const t_channel_id channel_id); //int getLowestChannelNumberWithChannelID(const t_channel_id channel_id);
int getNrofFirstChannelofBouquet(const unsigned int bouquet_nr); int getNrofFirstChannelofBouquet(const unsigned int bouquet_nr);
bool EndOfChannels() { return (c == -2); }; bool EndOfChannels() { return (c == -2); };
}; };

View File

@@ -158,6 +158,7 @@ void CZapitBouquet::moveService(const unsigned int oldPosition, const unsigned i
} }
} }
#if 0
size_t CZapitBouquet::recModeRadioSize(const transponder_id_t transponder_id) size_t CZapitBouquet::recModeRadioSize(const transponder_id_t transponder_id)
{ {
size_t size = 0; size_t size = 0;
@@ -179,6 +180,7 @@ size_t CZapitBouquet::recModeTVSize(const transponder_id_t transponder_id)
return size; return size;
} }
#endif
CBouquetManager::~CBouquetManager() CBouquetManager::~CBouquetManager()
{ {
@@ -673,6 +675,7 @@ CBouquetManager::ChannelIterator CBouquetManager::ChannelIterator::FindChannelNr
return (*this); return (*this);
} }
#if 0
int CBouquetManager::ChannelIterator::getLowestChannelNumberWithChannelID(const t_channel_id channel_id) int CBouquetManager::ChannelIterator::getLowestChannelNumberWithChannelID(const t_channel_id channel_id)
{ {
int i = 0; int i = 0;
@@ -684,6 +687,7 @@ int CBouquetManager::ChannelIterator::getLowestChannelNumberWithChannelID(const
//return i; //return i;
return -1; // not found return -1; // not found
} }
#endif
int CBouquetManager::ChannelIterator::getNrofFirstChannelofBouquet(const unsigned int bouquet_nr) int CBouquetManager::ChannelIterator::getNrofFirstChannelofBouquet(const unsigned int bouquet_nr)
{ {