summaryrefslogtreecommitdiff
path: root/epg.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-22 15:36:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-22 15:36:36 +0100
commit36e22ad6e2b3f974c96661742940a64a996b79ed (patch)
tree71d5f8ccddbb7fbbaa54a3ca25c1bfecf8f5bd7a /epg.h
parent98f3934a583790b2119ff5a09d63cb3ede4e78f4 (diff)
downloadvdr-36e22ad6e2b3f974c96661742940a64a996b79ed.tar.gz
vdr-36e22ad6e2b3f974c96661742940a64a996b79ed.tar.bz2
Extended the SVDRP command LSTE to allow limiting the listed data
Diffstat (limited to 'epg.h')
-rw-r--r--epg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/epg.h b/epg.h
index 9cdd6ef3..8b6067d1 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.9 2004/02/22 13:52:46 kls Exp $
+ * $Id: epg.h 1.10 2004/02/22 14:34:04 kls Exp $
*/
#ifndef __EPG_H
@@ -19,6 +19,8 @@
#define MAXEPGBUGFIXLEVEL 2
+enum eDumpMode { dmAll, dmPresent, dmFollowing, dmAtTime };
+
class cSchedule;
class cEvent : public cListObject {
@@ -89,7 +91,7 @@ public:
const cEvent *GetEventAround(time_t Time) const;
const cEvent *GetEventNumber(int n) const { return events.Get(n); }
int NumEvents(void) const { return events.Count(); }
- void Dump(FILE *f, const char *Prefix = "") const;
+ void Dump(FILE *f, const char *Prefix = "", eDumpMode DumpMode = dmAll, time_t AtTime = 0) const;
static bool Read(FILE *f, cSchedules *Schedules);
};
@@ -120,7 +122,7 @@ public:
static void Cleanup(bool Force = false);
static void ResetVersions(void);
static bool ClearAll(void);
- static bool Dump(FILE *f, const char *Prefix = "");
+ static bool Dump(FILE *f, const char *Prefix = "", eDumpMode DumpMode = dmAll, time_t AtTime = 0);
static bool Read(FILE *f = NULL);
cSchedule *AddSchedule(tChannelID ChannelID);
const cSchedule *GetSchedule(tChannelID ChannelID) const;