src/gui/channellist.cpp:-add sort by channel number

This commit is contained in:
satbaby
2012-11-09 17:32:15 +01:00
parent fdb1fa6352
commit c47aebdb64
7 changed files with 36 additions and 10 deletions

View File

@@ -153,6 +153,7 @@ public:
void SortAlpha(void);
void SortSat(void);
void SortTP(void);
void SortChNumber(void);
void ClearList(void);
bool SameTP(t_channel_id channel_id);
bool SameTP(CZapitChannel * channel = NULL);
@@ -161,5 +162,14 @@ public:
int getSelected() { return selected; }
CZapitChannel* getPrevNextChannel(int key, unsigned int &sl);
//friend class CZapitChannel;
enum
{
SORT_ALPHA = 0,
SORT_TP,
SORT_SAT,
SORT_CH_NUMBER,
SORT_MAX
};
};
#endif