From a69b3211dc4f9b34eef440067d5ba304fbfbad94 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 1 Nov 2000 18:00:00 +0100 Subject: Version 0.67 - The EIT information is now gathered in a separate thread. - The sytem time can now be synchronized to the time broadcast in the DVB data stream. This can be enabled in the "Setup" menu by setting "SetSystemTime" to 1. Note that this works only if VDR is running under a user id that has permisson to set the system time. - The new item "Schedule" in the "Main" menu opens VDR's EPG (thanks to Robert Schneider). See the MANUAL file for a detailed description. - The new setup parameters MarginStart and MarginStop define how long (in minutes) before the official start time of a broadcast VDR shall begin recording, and how long after the official end time it shall stop recording. These are used when a recording is programmed from the "Schedules" menu. - The delay value in the dvb.c.071.diff patch to the driver has been increased to '3', because on some systems the OSD was not displayed correctly. If you are running an already patched version 0.71 driver and encounter problems with the OSD, please make sure the parameter in the ddelay call is '3', not '2'. - Fixed initializing the RCU remote control code (didn't work after switching on the system). - Problematic characters in recording names (which can come from timers that are programmed via the "Schedules" menu) are now replaced by suitable substitutes. --- dvbapi.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'dvbapi.h') diff --git a/dvbapi.h b/dvbapi.h index b35f3fb..16a2b7a 100644 --- a/dvbapi.h +++ b/dvbapi.h @@ -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.20 2000/11/01 09:18:50 kls Exp $ */ #ifndef __DVBAPI_H @@ -21,6 +21,7 @@ typedef unsigned char __u8; #include #include #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); @@ -112,6 +122,8 @@ public: void Clear(void); void Fill(int x, int y, int w, int h, eDvbColor color = clrBackground); void ClrEol(int x, int y, eDvbColor color = clrBackground); + int CellWidth(void); + int Width(unsigned char c); void Text(int x, int y, const char *s, eDvbColor colorFg = clrWhite, eDvbColor colorBg = clrBackground); void Flush(void); -- cgit v1.2.3