diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-05-02 19:11:38 +0200 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-05-02 19:11:38 +0200 |
commit | 47a981960f1d0b6d0d8cbe3bdc15f2b9e8665731 (patch) | |
tree | 912ec408b85195c6298a55276587535427ae83fd /myreplaycontrol.h | |
parent | 3c04e4ce347dff915def3a79f348f2f46e60564d (diff) | |
download | vdr-plugin-extrecmenu-47a981960f1d0b6d0d8cbe3bdc15f2b9e8665731.tar.gz vdr-plugin-extrecmenu-47a981960f1d0b6d0d8cbe3bdc15f2b9e8665731.tar.bz2 |
Version 0.10v0.10
- made changes to Makefile for APIVERSION (VDR >= 1.3.47)
- changed myReplayControl; suggested by Thomas Günther
- added display of free disk space to the title bar
- fixed adjustments for BigPatch/CmdSubMenu-patch; thanks to Thomas Günther for the patch
- renaming/moving directories is now possible
- fixed escaping of parameters for dvdarchive.sh
- changed behaviour if the replay of a recording ends, plugins will not open
- 'Play' and 'Menu'->'Blue' for resuming a replay work now; BUT: the replay isn't done with the plugin if you start replaying this way, means if you stop the replay you come to VDR's recordings menu
- switched off editing of details (priority and lifetime) or archive dvd recordings to avoid trouble with the dir name that identifies it on the media
- added option to mark last replayed recording while opening the plugin
- added possibilty to include video dvd's into the recordings hierarchy; see README
- introduced new parameters for the '-r'-option if VDR: move, rename and delete
Diffstat (limited to 'myreplaycontrol.h')
-rw-r--r-- | myreplaycontrol.h | 57 |
1 files changed, 4 insertions, 53 deletions
diff --git a/myreplaycontrol.h b/myreplaycontrol.h index 915ab8a..78d0008 100644 --- a/myreplaycontrol.h +++ b/myreplaycontrol.h @@ -1,57 +1,8 @@ -#include <vdr/dvbplayer.h> -#define MODETIMEOUT 3 // seconds +#include <vdr/menu.h> -// --- myReplayControls ------------------------------------------------------- -class myReplayControl : public cDvbPlayerControl { -private: - cSkinDisplayReplay *displayReplay; - cMarks marks; - bool visible, modeOnly, shown, displayFrames; - int lastCurrent, lastTotal; - bool lastPlay, lastForward; - int lastSpeed; - time_t timeoutShow; -#ifdef BIGPATCHVERSION - time_t lastLoadMarks; -#endif - bool timeSearchActive, timeSearchHide; - int timeSearchTime, timeSearchPos; - void TimeSearchDisplay(void); - void TimeSearchProcess(eKeys Key); - void TimeSearch(void); - void ShowTimed(int Seconds = 0); - static char *fileName; - static char *title; - void ShowMode(void); - bool ShowProgress(bool Initial); - void MarkToggle(void); - void MarkJump(bool Forward); - void MarkMove(bool Forward); - void EditCut(void); - void EditTest(void); -public: - myReplayControl(void); - virtual ~myReplayControl(); - virtual cOsdObject *GetInfo(void); - virtual eOSState ProcessKey(eKeys Key); - virtual void Show(void); - virtual void Hide(void); - bool Visible(void) { return visible; } - static void SetRecording(const char *FileName, const char *Title); - static const char *LastReplayed(void); - static void ClearLastReplayed(const char *FileName); - }; - -// --- myMenuRecordingInfo ---------------------------------------------------- -class myMenuRecordingInfo:public cOsdMenu +class myReplayControl:public cReplayControl { - private: - const cRecording *recording; - bool withButtons; - eOSState Play(); - eOSState Rewind(); public: - myMenuRecordingInfo(const cRecording *Recording,bool WithButtons = false); - virtual void Display(void); - virtual eOSState ProcessKey(eKeys Key); + eOSState ProcessKey(eKeys Key); + static bool jumprec; }; |