summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-04 12:36:32 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-04 12:36:32 +0100
commit1c81b279eed647bbe938a2e89a66ce6e0d3d2121 (patch)
treec9e7bc225cc2203e32dee16a70a6986f8b580928 /menu.c
parent2adfad282320b6a6b116284507aac870d536a69a (diff)
downloadvdr-1c81b279eed647bbe938a2e89a66ce6e0d3d2121.tar.gz
vdr-1c81b279eed647bbe938a2e89a66ce6e0d3d2121.tar.bz2
Automatically removing deleted recordings after a while
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index b20b89d1..1616fb45 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.62 2001/02/03 16:05:31 kls Exp $
+ * $Id: menu.c 1.63 2001/02/04 11:48:01 kls Exp $
*/
#include "menu.h"
@@ -2019,6 +2019,15 @@ void cRecordControls::Process(void)
}
}
+bool cRecordControls::Active(void)
+{
+ for (int i = 0; i < MAXDVBAPI; i++) {
+ if (RecordControls[i])
+ return true;
+ }
+ return false;
+}
+
// --- cProgressBar ----------------------------------------------------------
class cProgressBar : public cBitmap {