summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/config.h b/config.h
index e2e2897f..60cfafde 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.95 2002/02/10 15:44:40 kls Exp $
+ * $Id: config.h 1.96 2002/02/17 12:17:29 kls Exp $
*/
#ifndef __CONFIG_H
@@ -135,6 +135,7 @@ public:
int priority;
int lifetime;
char file[MaxFileName];
+ time_t firstday;
char *summary;
cTimer(bool Instant = false);
cTimer(const cEventInfo *EventInfo);
@@ -148,17 +149,19 @@ public:
int GetMDay(time_t t);
int GetWDay(time_t t);
bool DayMatches(time_t t);
- time_t IncDay(time_t t, int Days);
- time_t SetTime(time_t t, int SecondsFromMidnight);
+ static time_t IncDay(time_t t, int Days);
+ static time_t SetTime(time_t t, int SecondsFromMidnight);
char *SetFile(const char *File);
bool Matches(time_t t = 0);
time_t StartTime(void);
time_t StopTime(void);
void SetRecording(bool Recording);
void SetPending(bool Pending);
+ void SkipToday(void);
+ const char *PrintFirstDay(void);
static int TimeToInt(int t);
- static int ParseDay(const char *s);
- static const char *PrintDay(int d);
+ static int ParseDay(const char *s, time_t *FirstDay = NULL);
+ static const char *PrintDay(int d, time_t FirstDay = 0);
};
class cCommand : public cListObject {