diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-23 13:55:57 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-23 13:55:57 +0100 |
commit | db7f6ee6192b395682685eb2151fb88354a786b5 (patch) | |
tree | df5a99a045a073c9048cb1eab8b1d4b5eaf22c43 /eit.h | |
parent | 645f62fee44496cf4a982c8b7ef24c7a6a4ccc2e (diff) | |
download | vdr-db7f6ee6192b395682685eb2151fb88354a786b5.tar.gz vdr-db7f6ee6192b395682685eb2151fb88354a786b5.tar.bz2 |
Accessing Schedules data directly via cSIProcessor
Diffstat (limited to 'eit.h')
-rw-r--r-- | eit.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -16,7 +16,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: eit.h 1.13 2002/01/13 16:18:23 kls Exp $ + * $Id: eit.h 1.14 2002/02/23 13:51:31 kls Exp $ ***************************************************************************/ #ifndef __EIT_H @@ -146,10 +146,13 @@ public: ~cSIProcessor(); static void SetEpgDataFileName(const char *FileName); static const char *GetEpgDataFileName(void); + static const cSchedules *Schedules(cMutexLock &MutexLock); + // Caller must provide a cMutexLock which has to survive the entire + // time the returned cSchedules is accessed. Once the cSchedules is no + // longer used, the cMutexLock must be destroyed. void SetStatus(bool On); bool SetUseTSTime(bool use); bool SetCurrentServiceID(unsigned short servid); - const cSchedules *Schedules(void) { return schedules; } }; #endif |