summaryrefslogtreecommitdiff
path: root/epg.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-03-14 13:27:57 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-03-14 13:27:57 +0100
commit07dc53331e62b29cc7659a23de4d7348f4788bd7 (patch)
treefec0a02cb25213ba171ea5646db88891fa1b1ea8 /epg.h
parent510a205c31f6e39171e85e2704cca8e9404c99bf (diff)
downloadvdr-07dc53331e62b29cc7659a23de4d7348f4788bd7.tar.gz
vdr-07dc53331e62b29cc7659a23de4d7348f4788bd7.tar.bz2
Removed cSchedule::GetEventNumber() and cSchedule::NumEvents()
Diffstat (limited to 'epg.h')
-rw-r--r--epg.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/epg.h b/epg.h
index 74e5c0bd..9a6547ef 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.14 2004/03/13 13:39:13 kls Exp $
+ * $Id: epg.h 1.15 2004/03/14 13:25:39 kls Exp $
*/
#ifndef __EPG_H
@@ -90,12 +90,11 @@ public:
void Cleanup(time_t Time);
void Cleanup(void);
cEvent *AddEvent(cEvent *Event);
+ const cList<cEvent> *Events(void) const { return &events; }
const cEvent *GetPresentEvent(bool CheckRunningStatus = false) const;
const cEvent *GetFollowingEvent(bool CheckRunningStatus = false) const;
const cEvent *GetEvent(u_int16_t EventID, time_t StartTime = 0) const;
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 = "", eDumpMode DumpMode = dmAll, time_t AtTime = 0) const;
static bool Read(FILE *f, cSchedules *Schedules);
};