summaryrefslogtreecommitdiff
path: root/epg.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:33:20 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:33:20 +0100
commit8e616636526b9d7f7530d96dcb69efa1d9e011d2 (patch)
tree1c57f6a9592ba1f3a98f262655c5b3701ca1b523 /epg.h
parent45eac6d94694aa9081bdd0e06794942c49818ff1 (diff)
downloadvdr-8e616636526b9d7f7530d96dcb69efa1d9e011d2.tar.gz
vdr-8e616636526b9d7f7530d96dcb69efa1d9e011d2.tar.bz2
Implemented handling the VPS timestamps
Diffstat (limited to 'epg.h')
-rw-r--r--epg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/epg.h b/epg.h
index 73d0f2f0..55c37d5b 100644
--- a/epg.h
+++ b/epg.h
@@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
*
- * $Id: epg.h 1.7 2004/02/21 13:46:18 kls Exp $
+ * $Id: epg.h 1.8 2004/02/22 13:18:14 kls Exp $
*/
#ifndef __EPG_H
@@ -33,6 +33,7 @@ private:
char *description; // Description of this event
time_t startTime; // Start time of this event
int duration; // Duration of this event in seconds
+ time_t vps; // Video Programming Service timestamp (VPS, aka "Programme Identification Label", PIL)
public:
cEvent(tChannelID ChannelID, u_int16_t EventID);
~cEvent();
@@ -47,9 +48,11 @@ public:
const char *Description(void) const { return description; }
time_t StartTime(void) const { return startTime; }
int Duration(void) const { return duration; }
+ time_t Vps(void) const { return vps; }
const char *GetDateString(void) const;
const char *GetTimeString(void) const;
const char *GetEndTimeString(void) const;
+ const char *GetVpsString(void) const;
void SetEventID(u_int16_t EventID);
void SetTableID(uchar TableID);
void SetVersion(uchar Version);
@@ -59,6 +62,7 @@ public:
void SetDescription(const char *Description);
void SetStartTime(time_t StartTime);
void SetDuration(int Duration);
+ void SetVps(time_t Vps);
void Dump(FILE *f, const char *Prefix = "") const;
static bool Read(FILE *f, cSchedule *Schedule);
void FixEpgBugs(void);