summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-17 13:05:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-17 13:05:05 +0100
commita87e7625ddf38cd2e653a256899e9119505e92ac (patch)
tree34f4c7fc34fc42cc6f95c1d18b282b01937a19ae /config.h
parent3ecbdd489e19a1844843fc1e5e60a689908ffc02 (diff)
downloadvdr-a87e7625ddf38cd2e653a256899e9119505e92ac.tar.gz
vdr-a87e7625ddf38cd2e653a256899e9119505e92ac.tar.bz2
Implemented the 'First day' parameter for repeating timers
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 {