WIP. stop assuming whole channel list selected == channel number

This commit is contained in:
[CST] Focus
2012-03-14 19:44:06 +04:00
parent 93d6d19016
commit 008940a3b7
4 changed files with 222 additions and 232 deletions

View File

@@ -125,7 +125,7 @@ public:
t_channel_id getActiveChannel_ChannelID(void) const;
void zapTo(int pos, bool forceStoreToLastChannels = false);
void NewZap(t_channel_id channel_id);
void zapToChannel(CZapitChannel *channel);
void virtual_zap_mode(bool up);
bool zapTo_ChannelID(const t_channel_id channel_id);
bool adjustToChannelID(const t_channel_id channel_id, bool bToo = true);
@@ -152,6 +152,9 @@ public:
bool SameTP(t_channel_id channel_id);
bool SameTP(CZapitChannel * channel = NULL);
CLastChannel & getLastChannels() { return lastChList; }
bool showEmptyError();
int getSelected() { return selected; }
CZapitChannel* getPrevNextChannelNumber(int key, unsigned int &sl);
//friend class CZapitChannel;
};
#endif