diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-03-11 19:58:00 +0100 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-03-11 19:58:00 +0100 |
commit | babfdd26f9d2fbe164205951413d74aa6d21ef23 (patch) | |
tree | abdcb04fadc2894e23ac028aa76835ecb55d991e /extrecmenu.h | |
parent | 93372f4ecc69a079c0e5c5af9169f39222983667 (diff) | |
download | vdr-plugin-extrecmenu-babfdd26f9d2fbe164205951413d74aa6d21ef23.tar.gz vdr-plugin-extrecmenu-babfdd26f9d2fbe164205951413d74aa6d21ef23.tar.bz2 |
Version 0.2v0.2
- implemented own dvbplayercontrol-class so that people who haved patch their vdr with the jumpplay-patch can compile the plugin
- 'Info' while replaying opens recording info
- option 'Info' added to recordings list to schow the description of a recording
- details (date and time) of recordings are shown now
Diffstat (limited to 'extrecmenu.h')
-rw-r--r-- | extrecmenu.h | 47 |
1 files changed, 2 insertions, 45 deletions
diff --git a/extrecmenu.h b/extrecmenu.h index 64f3e95..64e864f 100644 --- a/extrecmenu.h +++ b/extrecmenu.h @@ -1,16 +1,10 @@ #include <vdr/plugin.h> #include <vdr/menu.h> -#include <vdr/interface.h> -#include <vdr/status.h> #include <vdr/skins.h> -#include <vdr/dvbplayer.h> -#include <vdr/cutter.h> #include <vdr/videodir.h> #include "i18n.h" -#define MODETIMEOUT 3 // seconds - -static const char *VERSION = "0.1"; +static const char *VERSION = "0.2"; static const char *DESCRIPTION = "Extended recordings menu"; static const char *MAINMENUENTRY = "ExtRecMenu"; @@ -71,6 +65,7 @@ class myMenuRecordings:public cOsdMenu eOSState Delete(); eOSState Rename(); eOSState MoveRec(); + eOSState Info(); public: myMenuRecordings(const char *Base=NULL,int Level=0); ~myMenuRecordings(); @@ -108,41 +103,3 @@ class myMenuMoveRecording:public cOsdMenu myMenuMoveRecording::~myMenuMoveRecording(); virtual eOSState ProcessKey(eKeys Key); }; - -// --- 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; - 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); - }; |