2014-09-27 09:25:14 +02:00
|
|
|
#ifndef __DISPLAYCHANNEL_H
|
|
|
|
#define __DISPLAYCHANNEL_H
|
|
|
|
|
|
|
|
#include <vdr/thread.h>
|
|
|
|
#include "config.h"
|
|
|
|
#include "libtemplate/template.h"
|
|
|
|
#include "views/displaychannelview.h"
|
|
|
|
|
|
|
|
class cSDDisplayChannel : public cSkinDisplayChannel {
|
|
|
|
private:
|
|
|
|
cDisplayChannelView *channelView;
|
|
|
|
bool doOutput;
|
|
|
|
bool initial;
|
|
|
|
bool groupSep;
|
|
|
|
bool channelChange;
|
|
|
|
time_t lastSignalDisplay;
|
|
|
|
int lastSignalStrength;
|
|
|
|
int lastSignalQuality;
|
|
|
|
int lastScreenWidth;
|
|
|
|
int currentLast;
|
2014-11-02 17:32:22 +01:00
|
|
|
uint64_t devicesLast;
|
2014-09-27 09:25:14 +02:00
|
|
|
const cEvent *present;
|
2015-04-26 14:05:14 +02:00
|
|
|
int currentChannelSid;
|
|
|
|
int isEncrypted;
|
2014-09-27 09:25:14 +02:00
|
|
|
void SetProgressBar(const cEvent *present);
|
|
|
|
public:
|
|
|
|
cSDDisplayChannel(cTemplate *channelTemplate, bool WithInfo);
|
|
|
|
virtual ~cSDDisplayChannel();
|
|
|
|
virtual void SetChannel(const cChannel *Channel, int Number);
|
|
|
|
virtual void SetEvents(const cEvent *Present, const cEvent *Following);
|
|
|
|
virtual void SetMessage(eMessageType Type, const char *Text);
|
|
|
|
virtual void Flush(void);
|
|
|
|
};
|
|
|
|
#endif //__DISPLAYCHANNEL_H
|