2014-09-27 09:25:14 +02:00
|
|
|
#ifndef __DISPLAYREPLAY_H
|
|
|
|
#define __DISPLAYREPLAY_H
|
|
|
|
|
|
|
|
#include <vdr/skins.h>
|
|
|
|
#include "config.h"
|
2016-01-26 18:32:38 +01:00
|
|
|
#include "coreengine/viewdisplayreplay.h"
|
2014-09-27 09:25:14 +02:00
|
|
|
|
|
|
|
class cSDDisplayReplay : public cSkinDisplayReplay {
|
|
|
|
private:
|
2016-01-26 18:32:38 +01:00
|
|
|
bool ok;
|
|
|
|
bool init;
|
|
|
|
cViewReplay *view;
|
2015-05-16 07:57:14 +02:00
|
|
|
void SetTimeShiftValues(const cRecording *recording);
|
2014-09-27 09:25:14 +02:00
|
|
|
public:
|
2016-01-26 18:32:38 +01:00
|
|
|
cSDDisplayReplay(cViewReplay *replayView, bool ModeOnly);
|
2014-09-27 09:25:14 +02:00
|
|
|
virtual ~cSDDisplayReplay();
|
|
|
|
virtual void SetRecording(const cRecording *Recording);
|
2015-02-01 14:45:33 +01:00
|
|
|
virtual void SetTitle(const char *Title);
|
2014-09-27 09:25:14 +02:00
|
|
|
virtual void SetMode(bool Play, bool Forward, int Speed);
|
|
|
|
virtual void SetProgress(int Current, int Total);
|
|
|
|
virtual void SetCurrent(const char *Current);
|
|
|
|
virtual void SetTotal(const char *Total);
|
|
|
|
virtual void SetJump(const char *Jump);
|
|
|
|
virtual void SetMessage(eMessageType Type, const char *Text);
|
|
|
|
virtual void Flush(void);
|
|
|
|
};
|
|
|
|
|
2016-01-26 18:32:38 +01:00
|
|
|
#endif //__DISPLAYREPLAY_H
|