mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
#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;
|
|
bool doOutput;
|
|
bool modeOnly;
|
|
int numMarksLast;
|
|
int *lastMarks;
|
|
bool MarksChanged(void);
|
|
void RememberMarks(void);
|
|
public:
|
|
cSDDisplayReplay(cTemplate *replayTemplate, bool ModeOnly);
|
|
virtual ~cSDDisplayReplay();
|
|
virtual void SetRecording(const cRecording *Recording);
|
|
virtual void SetTitle(const char *Title) {};
|
|
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
|