summaryrefslogtreecommitdiff
path: root/extrecmenu.h
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2006-03-12 18:14:36 +0100
committerAndreas Mair <andreas@vdr-developer.org>2006-03-12 18:14:36 +0100
commit17f89bafd559b28b5a175aa82730226dfe9f7d69 (patch)
tree7098824c14f462d44eaaccf5dc4c6975673ed275 /extrecmenu.h
parentbabfdd26f9d2fbe164205951413d74aa6d21ef23 (diff)
downloadvdr-plugin-extrecmenu-0.3.tar.gz
vdr-plugin-extrecmenu-0.3.tar.bz2
Version 0.3v0.3
- details for directories are shown now (# of entries, # of new entries) - option to shown the length of a recording - option to hide recording date, time and/or length
Diffstat (limited to 'extrecmenu.h')
-rw-r--r--extrecmenu.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/extrecmenu.h b/extrecmenu.h
index 64e864f..139dcd8 100644
--- a/extrecmenu.h
+++ b/extrecmenu.h
@@ -4,7 +4,7 @@
#include <vdr/videodir.h>
#include "i18n.h"
-static const char *VERSION = "0.2";
+static const char *VERSION = "0.3";
static const char *DESCRIPTION = "Extended recordings menu";
static const char *MAINMENUENTRY = "ExtRecMenu";
@@ -39,6 +39,7 @@ class myMenuRecordingsItem:public cOsdItem
{
private:
int level,isdirectory;
+ int totalentries,newentries;
char *title;
char *name;
const char *filename;
@@ -48,6 +49,7 @@ class myMenuRecordingsItem:public cOsdItem
const char *FileName(){return filename;}
const char *Name(){return name;}
bool IsDirectory(){return name!=NULL;}
+ void IncrementCounter(bool IsNew);
};
// --- myMenuRecordings -------------------------------------------------------
@@ -56,6 +58,7 @@ class myMenuRecordings:public cOsdMenu
private:
bool edit;
int level,helpkeys;
+ int recordingsstate;
char *base;
bool Open();
void SetHelpKeys();
@@ -69,7 +72,7 @@ class myMenuRecordings:public cOsdMenu
public:
myMenuRecordings(const char *Base=NULL,int Level=0);
~myMenuRecordings();
- void Set();
+ void Set(bool Refresh=false);
virtual eOSState ProcessKey(eKeys Key);
};