2014-09-27 09:25:14 +02:00
|
|
|
#ifndef __DISPLAYREPLAY_H
|
|
|
|
#define __DISPLAYREPLAY_H
|
|
|
|
|
|
|
|
#include <vdr/skins.h>
|
|
|
|
#include <vdr/thread.h>
|
|
|
|
#include "config.h"
|
|
|
|
#include "libtemplate/template.h"
|
|
|
|
#include "views/displayreplayview.h"
|
|
|
|
|
|
|
|
class cSDDisplayReplay : public cSkinDisplayReplay {
|
|
|
|
private:
|
|
|
|
cDisplayReplayView *replayView;
|
|
|
|
bool initial;
|
2015-05-10 12:55:23 +02:00
|
|
|
bool initialModeSet;
|
2014-09-27 09:25:14 +02:00
|
|
|
bool doOutput;
|
|
|
|
bool modeOnly;
|
|
|
|
public:
|
|
|
|
cSDDisplayReplay(cTemplate *replayTemplate, bool ModeOnly);
|
|
|
|
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);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DISPLAYREPLAY_H
|