diff options
author | louis <louis.braun@gmx.de> | 2013-07-09 00:17:42 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-07-09 00:17:42 +0200 |
commit | 2a7a011055a44516ec981e525776394a8c04dcfe (patch) | |
tree | 55c9828c7b619622ec36da3f4b41318ed6c85ae0 /timer.h | |
parent | 6da4b610d98cafe7c20555c926359d7f89347c76 (diff) | |
download | vdr-plugin-tvguide-2a7a011055a44516ec981e525776394a8c04dcfe.tar.gz vdr-plugin-tvguide-2a7a011055a44516ec981e525776394a8c04dcfe.tar.bz2 |
Version 0.0.6
Diffstat (limited to 'timer.h')
-rw-r--r-- | timer.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -30,4 +30,19 @@ class cMyTime { void debug();
};
+// --- cTimeInterval -------------------------------------------------------------
+
+class cTimeInterval {
+ private:
+ time_t start;
+ time_t stop;
+ public:
+ cTimeInterval(time_t start, time_t stop);
+ virtual ~cTimeInterval(void);
+ time_t Start(void) { return start; };
+ time_t Stop(void) { return stop; };
+ cTimeInterval *Intersect(cTimeInterval *interval);
+ cTimeInterval *Union(cTimeInterval *interval);
+};
+
#endif //__TVGUIDE_TIMER_H
\ No newline at end of file |