summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-16 11:05:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-16 11:05:14 +0200
commit27895be475763321d36e476578fc7d4712f1a600 (patch)
tree01759a17c5ccb603b70cbee258264c3b1f79ab7c /osd.h
parent1a2ddff60d9722e7633971c917c7413c598ad7c1 (diff)
downloadvdr-27895be475763321d36e476578fc7d4712f1a600.tar.gz
vdr-27895be475763321d36e476578fc7d4712f1a600.tar.bz2
cOsdProvider::NewOsd() now always returns a valid pointer
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/osd.h b/osd.h
index 172c4757..bd69084f 100644
--- a/osd.h
+++ b/osd.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.h 1.46 2004/06/12 13:14:48 kls Exp $
+ * $Id: osd.h 1.47 2004/10/16 10:33:44 kls Exp $
*/
#ifndef __OSD_H
@@ -330,7 +330,9 @@ public:
static cOsd *NewOsd(int Left, int Top);
///< Returns a pointer to a newly created cOsd object, which will be located
///< at the given coordinates. When the cOsd object is no longer needed, the
- ///< caller must delete it.
+ ///< caller must delete it. If the OSD is already in use, or there is no OSD
+ ///< provider, a dummy OSD is returned so that the caller may always use the
+ ///< returned pointer without having to check it every time it is accessed.
static void Shutdown(void);
///< Shuts down the OSD provider facility by deleting the current OSD provider.
};