summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-05-21 13:03:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-05-21 13:03:42 +0200
commit161fa8ead43e1ec234363af68f1c781d74aec3c0 (patch)
tree62ac6df0846fafb06a819e7a0d9ace7fcf7f1f57
parent115eb9fdb4b9a75f79ab6bd1f6e4188a8515deb5 (diff)
downloadvdr-161fa8ead43e1ec234363af68f1c781d74aec3c0.tar.gz
vdr-161fa8ead43e1ec234363af68f1c781d74aec3c0.tar.bz2
The default for DEPRECATED_SKIN_SETITEMEVENT has been set to 0
-rw-r--r--HISTORY5
-rw-r--r--skins.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index c7d03e89..85294f98 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9700,3 +9700,8 @@ Video Disk Recorder Revision History
functionality. However, it is recommended to use SetCurrentChannel(int ChannelNumber)
instead.
- The macro DEPRECATED_GETBITMAP and the related code has been removed.
+- The default for DEPRECATED_SKIN_SETITEMEVENT has been set to 0, which means that
+ the function cSkinDisplayMenu::SetItemEvent() without the TimerActive parameter is
+ no longer available. You can add 'DEPRECATED_SKIN_SETITEMEVENT=1' when compiling in
+ order to restore this functionality. However, it is recommended to use the function
+ with the TimerActive parameter instead.
diff --git a/skins.h b/skins.h
index ef27e825..40b185fc 100644
--- a/skins.h
+++ b/skins.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skins.h 4.6 2019/05/29 16:36:41 kls Exp $
+ * $Id: skins.h 5.1 2021/05/21 13:03:42 kls Exp $
*/
#ifndef __SKINS_H
@@ -245,7 +245,7 @@ public:
///< The default implementation does nothing and returns false, which results in
///< a call to SetItem() with a proper text.
#ifndef DEPRECATED_SKIN_SETITEMEVENT
-#define DEPRECATED_SKIN_SETITEMEVENT 1
+#define DEPRECATED_SKIN_SETITEMEVENT 0
#endif
#if DEPRECATED_SKIN_SETITEMEVENT
virtual bool SetItemEvent(const cEvent *Event, int Index, bool Current, bool Selectable, const cChannel *Channel, bool WithDate, eTimerMatch TimerMatch) { return SetItemEvent(Event, Index, Current, Selectable, Channel, WithDate, TimerMatch, true); }