summaryrefslogtreecommitdiff
path: root/displaychannel.h
blob: 12c6922afa9745435e751d1f53aaf02f5f8874a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#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;
    uint64_t devicesLast;
    const cEvent *present;
    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