From c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 25 Aug 2002 09:36:09 +0200 Subject: Added cDevice::NewOsd() to allow a derived cDevice class to implement its own OSD capabilities --- osd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'osd.c') diff --git a/osd.c b/osd.c index 58caf68c..a2daf603 100644 --- a/osd.c +++ b/osd.c @@ -4,13 +4,12 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.c 1.34 2002/08/15 11:20:44 kls Exp $ + * $Id: osd.c 1.35 2002/08/25 09:18:31 kls Exp $ */ #include "osd.h" #include #include "device.h" -#include "dvbosd.h" #include "i18n.h" #include "status.h" @@ -73,7 +72,7 @@ cOsdBase *cOsd::OpenRaw(int x, int y) #ifdef DEBUG_OSD return NULL; #else - return osd ? NULL : new cDvbOsd(x, y); + return osd ? NULL : cDevice::PrimaryDevice()->NewOsd(x, y); #endif } -- cgit v1.2.3