summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-11-02 15:04:56 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2017-11-02 15:04:56 +0100
commitd8523b0db8adf0559040834487e5371c525132cb (patch)
treee6a8eab249d3de3487aca01df7eae14534a503aa /osd.h
parentd74dd7a60a3ea3ca563fd307885d6d4b571d9a2f (diff)
downloadvdr-d8523b0db8adf0559040834487e5371c525132cb.tar.gz
vdr-d8523b0db8adf0559040834487e5371c525132cb.tar.bz2
The macros used to control deprecated code or functions have been changed to hold numeric values; the default for DEPRECATED_VDR_CHARSET_OVERRIDE has been set to 0
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/osd.h b/osd.h
index 61b318d1..559819e3 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 4.4 2015/04/19 12:18:25 kls Exp $
+ * $Id: osd.h 4.5 2017/11/02 14:59:19 kls Exp $
*/
#ifndef __OSD_H
@@ -785,8 +785,10 @@ protected:
///< If there are no dirty pixmaps, or if this is not a true color OSD,
///< this function returns NULL.
///< The caller must call DestroyPixmap() for the returned pixmap after use.
-//#define DEPRECATED_GETBITMAP
-#ifdef DEPRECATED_GETBITMAP
+#ifndef DEPRECATED_GETBITMAP
+#define DEPRECATED_GETBITMAP 0
+#endif
+#if DEPRECATED_GETBITMAP
public:
#endif
cBitmap *GetBitmap(int Area);