summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-11-21 13:28:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-11-21 13:28:05 +0100
commitc2daf37ed136f85dd94cfd6cfa670aba9d93193c (patch)
treec4ff721ed234d1f90900c60078458ec0faeb9ec0 /timers.h
parent969864aacbe593fb237aa173f68eb61f859e8e66 (diff)
downloadvdr-c2daf37ed136f85dd94cfd6cfa670aba9d93193c.tar.gz
vdr-c2daf37ed136f85dd94cfd6cfa670aba9d93193c.tar.bz2
Fixed toggling the 'Day' item in the 'Timers' menu, so that it selects the right day of week for timers in the future
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/timers.h b/timers.h
index bdf1b0d9..eceb0780 100644
--- a/timers.h
+++ b/timers.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.h 1.11 2004/11/14 16:02:28 kls Exp $
+ * $Id: timers.h 1.12 2004/11/21 12:37:33 kls Exp $
*/
#ifndef __TIMERS_H
@@ -66,6 +66,7 @@ public:
bool IsSingleEvent(void) const;
static int GetMDay(time_t t);
static int GetWDay(time_t t);
+ static int GetWDayFromMDay(int MDay);
bool DayMatches(time_t t) const;
static time_t IncDay(time_t t, int Days);
static time_t SetTime(time_t t, int SecondsFromMidnight);