summaryrefslogtreecommitdiff
path: root/mymenurecordings.h
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2006-05-29 16:02:12 +0200
committerAndreas Mair <andreas@vdr-developer.org>2006-05-29 16:02:12 +0200
commit40d2369b12da350f684f5364a00c3501a6c038e6 (patch)
tree26355fcd63be09e46416bd903d2d6b7936791a1a /mymenurecordings.h
parent47a981960f1d0b6d0d8cbe3bdc15f2b9e8665731 (diff)
downloadvdr-plugin-extrecmenu-40d2369b12da350f684f5364a00c3501a6c038e6.tar.gz
vdr-plugin-extrecmenu-40d2369b12da350f684f5364a00c3501a6c038e6.tar.bz2
Version 0.11v0.11
- added czech translation; thanks to Vladimír Bárta - added missing dialog for video dvds - added more meaningful error messages - avoid empty names and names starting with . or .. while editing - free space display in title bar is now updated immediately - switched off editing of recordings and directories while a cut is in progress - switched off resume by 'Play' or 'Menu'->'Blue' for archive dvd recordings - changed back the behaviour if replay ends; plugin has to open to unmount archive dvds - removed setup option "While opening jump to last replayed recording"; its implemention interfers with the following one - after renaming a recording, the selection bar now stays at this renamed list entry - the parameters 'move' and 'rename' for the '-r'-option of VDR have now the following format: move/rename oldname newname - fixed hopefully all problems in connection with renaming and moving directories - plugins closes if there are no recordings - fixed
Diffstat (limited to 'mymenurecordings.h')
-rw-r--r--mymenurecordings.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/mymenurecordings.h b/mymenurecordings.h
index c7d8830..8f17f69 100644
--- a/mymenurecordings.h
+++ b/mymenurecordings.h
@@ -1,4 +1,4 @@
-extern bool clearall; // needed for myMenuMoveRecording
+#define MB_PER_MINUTE 25.75 // this is just an estimate!
// --- myMenuRecordingsItem ---------------------------------------------------
class myMenuRecordingsItem:public cOsdItem
@@ -31,11 +31,14 @@ class myMenuRecordings:public cOsdMenu
{
private:
bool edit;
+ static bool wasdvd;
+ static bool golastreplayed;
int level,helpkeys;
int recordingsstate;
char *base;
bool Open();
void SetHelpKeys();
+ void SetFreeSpaceTitle();
cRecording *GetRecording(myMenuRecordingsItem *Item);
eOSState Play();
eOSState Rewind();
@@ -48,7 +51,7 @@ class myMenuRecordings:public cOsdMenu
public:
myMenuRecordings(const char *Base=NULL,int Level=0);
~myMenuRecordings();
- void Set(bool Refresh=false);
+ void Set(bool Refresh=false,char *current=NULL);
virtual eOSState ProcessKey(eKeys Key);
};
@@ -83,8 +86,9 @@ class myMenuMoveRecording:public cOsdMenu
eOSState Create();
public:
myMenuMoveRecording(myMenuRecordings *MenuRecordings,cRecording *Recording,const char *DirBase,const char *DirName,const char *Base=NULL,int Level=0);
- myMenuMoveRecording::~myMenuMoveRecording();
+ ~myMenuMoveRecording();
virtual eOSState ProcessKey(eKeys Key);
+ static bool clearall;
};
// --- myMenuRecordingDetails -------------------------------------------------