diff options
author | louis <louis.braun@gmx.de> | 2014-01-15 18:25:37 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-01-15 18:25:37 +0100 |
commit | 02b1fba7426d98d106a62d21615f55ae12661beb (patch) | |
tree | 4fa3b42ba3b3e6f42a23cf75c935eab1bc7f2881 /timer.c | |
parent | 88bb260f4d234a13fd0c99b9e03436bda6d10f0a (diff) | |
download | vdr-plugin-tvguide-02b1fba7426d98d106a62d21615f55ae12661beb.tar.gz vdr-plugin-tvguide-02b1fba7426d98d106a62d21615f55ae12661beb.tar.bz2 |
Display baseline for current time
Diffstat (limited to 'timer.c')
-rw-r--r-- | timer.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -120,6 +120,13 @@ time_t cMyTime::GetRounded() { return mktime(rounded);
}
+bool cMyTime::NowVisible(void) {
+ if (t > tStart)
+ return true;
+ return false;
+}
+
+
void cMyTime::debug() {
esyslog("t: %s, tStart: %s, tEnd: %s", *TimeString(t), *TimeString(tStart), *TimeString(tEnd));
}
|