vdr-plugin-skindesigner/coreengine/viewdisplayreplay.h

65 lines
2.2 KiB
C
Raw Normal View History

2016-02-06 09:55:15 +01:00
#ifndef __VIEWDISPLAYREPLAY_H
#define __VIEWDISPLAYREPLAY_H
#include "view.h"
class cViewReplay : public cView {
private:
cVeMessage *veMessage;
cVeCustomTokens *veCustomTokens;
cVeDrRecTitle *veRecTitle;
cVeDrRecInfo *veRecInfo;
cVeDrScraperContent *veScraperContent;
cVeDrCurrentTime *veCurrentTime;
cVeDrTotalTime *veTotalTime;
cVeDrEndTime *veEndTime;
cVeDrProgressBar *veProgressbar;
cVeDrCutMarks *veCutMarks;
cVeDrProgressModeonly *veProgressModeOnly;
cVeDrControlIcons *veControlIcons;
cVeDrControlIcons *veControlIconsModeOnly;
cVeDrJump *veJump;
cVeDrOnPause *veOnPause;
cVeDrOnPause *veOnPauseModeOnly;
bool modeOnly;
time_t lastFlush;
time_t lastFlushModeOnly;
2016-02-06 09:55:15 +01:00
bool message;
int reclength;
bool timeShiftActive;
int timeShiftFramesTotal;
int timeShiftLength;
cString timeShiftDuration;
bool timersLoaded;
cGlobalTimers globalTimers;
2016-02-06 09:55:15 +01:00
void SetViewElements(void);
void ClearVariables(void);
void SetViewElementObjects(void);
void SetProgressModeOnly(void);
public:
cViewReplay(void);
virtual ~cViewReplay(void);
2016-07-22 15:21:09 +02:00
void PreCache(void);
2016-02-06 09:55:15 +01:00
void SetModeOnly(bool modeOnly) { this->modeOnly = modeOnly; };
void SetRecordingLength(int length) { reclength = length; };
void SetTimeShift(int framesTotal, int timeShiftLength);
void SetRecording(const cRecording *recording);
void SetTitle(const char *title);
void GetTimers(void);
void SetTimeShiftValues(const cRecording *recording);
2016-02-06 09:55:15 +01:00
void SetCurrent(const char *current);
void SetTotal(const char *total);
void SetEndTime(int current, int total);
void SetProgressbar(int current, int total);
void SetMarks(const cMarks *marks, int current, int total);
void SetControlIcons(bool play, bool forward, int speed);
void SetJump(const char *jump);
void SetMessage(eMessageType type, const char *text);
void StartOnPause(const char *recfilename);
void ClearOnPause(void);
void DelayOnPause(void);
2016-07-22 15:21:09 +02:00
void Flush(void);
2016-02-06 09:55:15 +01:00
};
#endif //__VIEWDISPLAYREPLAY_H1