diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-02 12:13:15 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-02 12:13:15 +0200 |
commit | c4cc5e613ccfbf573a7ed66d17702581ef00e376 (patch) | |
tree | 166bd35da0b02d7e5bc74a7c42e3d643ed319b2d /epg.h | |
parent | 0a5a7893a5d396503628a3e7997ae550ff2597ac (diff) | |
download | vdr-c4cc5e613ccfbf573a7ed66d17702581ef00e376.tar.gz vdr-c4cc5e613ccfbf573a7ed66d17702581ef00e376.tar.bz2 |
The cEvent class now has a new member 'aux'
Diffstat (limited to 'epg.h')
-rw-r--r-- | epg.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 4.3 2017/04/01 12:27:28 kls Exp $ + * $Id: epg.h 4.4 2017/04/02 11:22:21 kls Exp $ */ #ifndef __EPG_H @@ -89,6 +89,7 @@ private: uchar contents[MaxEventContents]; // Contents of this event time_t vps; // Video Programming Service timestamp (VPS, aka "Programme Identification Label", PIL) time_t seen; // When this event was last seen in the data stream + char *aux; // Auxiliary data, for use with plugins public: cEvent(tEventID EventID); ~cEvent(); @@ -111,6 +112,7 @@ public: time_t Vps(void) const { return vps; } time_t Seen(void) const { return seen; } bool SeenWithin(int Seconds) const { return time(NULL) - seen < Seconds; } + const char *Aux(void) const { return aux; } void IncNumTimers(void) const; void DecNumTimers(void) const; bool HasTimer(void) const { return numTimers > 0; } @@ -135,6 +137,7 @@ public: void SetDuration(int Duration); void SetVps(time_t Vps); void SetSeen(void); + void SetAux(const char *Aux); cString ToDescr(void) const; void Dump(FILE *f, const char *Prefix = "", bool InfoOnly = false) const; bool Parse(char *s); |