2014-09-27 09:25:14 +02:00
|
|
|
#ifndef __DISPLAYCHANNEL_H
|
|
|
|
#define __DISPLAYCHANNEL_H
|
|
|
|
|
2016-01-26 18:32:38 +01:00
|
|
|
#include <vdr/skins.h>
|
2014-09-27 09:25:14 +02:00
|
|
|
#include "config.h"
|
2016-01-26 18:32:38 +01:00
|
|
|
#include "coreengine/definitions.h"
|
|
|
|
#include "coreengine/viewdisplaychannel.h"
|
2014-09-27 09:25:14 +02:00
|
|
|
|
2016-05-26 10:47:45 +02:00
|
|
|
#ifdef USE_ZAPCOCKPIT
|
|
|
|
class cSDDisplayChannel : public cSkinDisplayChannelExtended {
|
|
|
|
#else
|
2014-09-27 09:25:14 +02:00
|
|
|
class cSDDisplayChannel : public cSkinDisplayChannel {
|
2016-05-26 10:47:45 +02:00
|
|
|
#endif
|
2014-09-27 09:25:14 +02:00
|
|
|
private:
|
2016-01-26 18:32:38 +01:00
|
|
|
cViewChannel *view;
|
|
|
|
bool ok;
|
2014-09-27 09:25:14 +02:00
|
|
|
public:
|
2016-01-26 18:32:38 +01:00
|
|
|
cSDDisplayChannel(cViewChannel *channelView, bool WithInfo);
|
2014-09-27 09:25:14 +02:00
|
|
|
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);
|
2016-05-26 10:47:45 +02:00
|
|
|
#ifdef USE_ZAPCOCKPIT
|
|
|
|
virtual void SetViewType(eDisplaychannelView ViewType);
|
|
|
|
virtual int MaxItems(void);
|
|
|
|
virtual void SetChannelInfo(const cChannel *Channel);
|
|
|
|
virtual void SetChannelList(const cChannel *Channel, int Index, bool Current);
|
|
|
|
virtual void SetGroupList(const char *Group, int NumChannels, int Index, bool Current);
|
|
|
|
virtual void SetGroupChannelList(const cChannel *Channel, int Index, bool Current);
|
|
|
|
virtual void ClearList(void);
|
|
|
|
virtual void SetNumChannelHints(int Num);
|
|
|
|
virtual void SetChannelHint(const cChannel *Channel);
|
|
|
|
#endif
|
2014-09-27 09:25:14 +02:00
|
|
|
virtual void Flush(void);
|
|
|
|
};
|
2016-01-26 18:32:38 +01:00
|
|
|
#endif //__DISPLAYCHANNEL_H
|