summaryrefslogtreecommitdiff
path: root/mymenurecordings.h
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2007-10-08 20:36:03 +0200
committerAndreas Mair <andreas@vdr-developer.org>2007-10-08 20:36:03 +0200
commit57e0533f20b14e208e41e56f80fd15b3d18f90f1 (patch)
tree2e75d86377b4fbc29c9fd76fabd2a5e291a9f204 /mymenurecordings.h
parent8adfaaf81b104b8e981026da593e40f9d780c251 (diff)
downloadvdr-plugin-extrecmenu-1.0.tar.gz
vdr-plugin-extrecmenu-1.0.tar.bz2
Version 1.0v1.0
- it is now possible to cancel a moving-between-filesystems-process - applied changes for MainMenuHooksPatch - added MainMenuHooksPatch to contrib/-dir; removed old one, which is now obsolete - free disk space is shown for the filesystem of the current directory (can be switched of in plugin's setup menu) - added support for hidding PIN-protected recordings in co-work with PIN-Plugin - added queue for moving recordings between filesystems - added cutter queue - added #ifdef's to switch of font patching for vdr >= 1.5.3 - added setup option to switch of font patching
Diffstat (limited to 'mymenurecordings.h')
-rw-r--r--mymenurecordings.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/mymenurecordings.h b/mymenurecordings.h
index c112be2..e23e61f 100644
--- a/mymenurecordings.h
+++ b/mymenurecordings.h
@@ -2,6 +2,7 @@
class myMenuRecordingsItem:public cOsdItem
{
private:
+ bool dirismoving;
bool isdvd;
int level,isdirectory;
int totalentries,newentries;
@@ -17,6 +18,8 @@ class myMenuRecordingsItem:public cOsdItem
bool IsDirectory(){return name!=NULL;}
void IncrementCounter(bool IsNew);
bool IsDVD(){return isdvd;}
+ void SetDirIsMoving(bool moving){dirismoving=moving;}
+ bool GetDirIsMoving(){return dirismoving;}
const char *UniqID(){return uniqid.length()?uniqid.c_str():"";}
};
@@ -27,6 +30,8 @@ class myMenuRecordings:public cOsdMenu
bool edit;
static bool wasdvd;
static bool golastreplayed;
+ static dev_t fsid;
+ static int freediskspace;
int level,helpkeys;
int recordingsstate;
char *base;
@@ -43,7 +48,7 @@ class myMenuRecordings:public cOsdMenu
eOSState Details();
eOSState Commands(eKeys Key=kNone);
eOSState ChangeSorting();
- bool IsCutted();
+ int FreeMB();
public:
myMenuRecordings(const char *Base=NULL,int Level=0);
~myMenuRecordings();
@@ -62,7 +67,7 @@ class myMenuRenameRecording:public cOsdMenu
cRecording *recording;
myMenuRecordings *menurecordings;
public:
- myMenuRenameRecording(myMenuRecordings *MenuRecordings,cRecording *Recording,const char *DirBase,const char *DirName);
+ myMenuRenameRecording(cRecording *Recording,const char *DirBase,const char *DirName);
~myMenuRenameRecording();
virtual eOSState ProcessKey(eKeys Key);
};
@@ -81,7 +86,7 @@ class myMenuMoveRecording:public cOsdMenu
eOSState MoveRec();
eOSState Create();
public:
- myMenuMoveRecording(myMenuRecordings *MenuRecordings,cRecording *Recording,const char *DirBase,const char *DirName,const char *Base=NULL,int Level=0);
+ myMenuMoveRecording(cRecording *Recording,const char *DirBase,const char *DirName,const char *Base=NULL,int Level=0);
~myMenuMoveRecording();
virtual eOSState ProcessKey(eKeys Key);
static bool clearall;
@@ -95,6 +100,6 @@ class myMenuRecordingDetails:public cOsdMenu
cRecording *recording;
myMenuRecordings *menurecordings;
public:
- myMenuRecordingDetails(cRecording *Recording,myMenuRecordings *MenuRecordings);
+ myMenuRecordingDetails(cRecording *Recording);
virtual eOSState ProcessKey(eKeys Key);
};