diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-29 13:17:22 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-29 13:17:22 +0100 |
commit | e6999e9b3a5f584de2f40ca833effe5ff5636f6a (patch) | |
tree | ffbbe5fd379916a43e9c887783b34ee34563a77f /dvbapi.h | |
parent | 92d3e366badb370e446156c0896103a578a24af0 (diff) | |
download | vdr-e6999e9b3a5f584de2f40ca833effe5ff5636f6a.tar.gz vdr-e6999e9b3a5f584de2f40ca833effe5ff5636f6a.tar.bz2 |
Implemented 'Schedules' menu
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.h 1.18 2000/10/03 11:26:10 kls Exp $ + * $Id: dvbapi.h 1.19 2000/10/29 12:11:16 kls Exp $ */ #ifndef __DVBAPI_H @@ -21,6 +21,7 @@ typedef unsigned char __u8; #include <stdio.h> #include <dvb.h> #include "dvbosd.h" +#include "eit.h" // Overlay facilities #define MAXCLIPRECTS 100 @@ -44,7 +45,8 @@ public: class cDvbApi { private: int videoDev; - cDvbApi(const char *FileName); + cSIProcessor *siProcessor; + cDvbApi(const char *VideoFileName, const char *VbiFileName); public: ~cDvbApi(); @@ -71,6 +73,14 @@ public: // Closes down all DVB devices. // Must be called at the end of the program. + // EIT facilities + + const cSchedules *Schedules(cThreadLock *ThreadLock) const; + // Caller must provide a cThreadLock which has to survive the entire + // time the returned cSchedules is accessed. Once the cSchedules is no + // longer used, the cThreadLock must be destroyed. + void SetUseTSTime(bool On) { if (siProcessor) siProcessor->SetUseTSTime(On); } + // Image Grab facilities bool GrabImage(const char *FileName, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); |