summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-23 13:55:57 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-23 13:55:57 +0100
commitdb7f6ee6192b395682685eb2151fb88354a786b5 (patch)
treedf5a99a045a073c9048cb1eab8b1d4b5eaf22c43 /eit.c
parent645f62fee44496cf4a982c8b7ef24c7a6a4ccc2e (diff)
downloadvdr-db7f6ee6192b395682685eb2151fb88354a786b5.tar.gz
vdr-db7f6ee6192b395682685eb2151fb88354a786b5.tar.bz2
Accessing Schedules data directly via cSIProcessor
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/eit.c b/eit.c
index 09c30f5e..afb1ed4f 100644
--- a/eit.c
+++ b/eit.c
@@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.c 1.35 2002/02/15 13:58:26 kls Exp $
+ * $Id: eit.c 1.36 2002/02/23 13:53:53 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -913,6 +913,13 @@ cSIProcessor::~cSIProcessor()
delete fileName;
}
+const cSchedules *cSIProcessor::Schedules(cMutexLock &MutexLock)
+{
+ if (MutexLock.Lock(&schedulesMutex))
+ return schedules;
+ return NULL;
+}
+
void cSIProcessor::SetEpgDataFileName(const char *FileName)
{
epgDataFileName = NULL;