From 5d1bcf0aa198f9fc1d4536ff3362d437658b08ae Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Thu, 19 Feb 2015 19:13:24 +0100 Subject: eMenuSortMode in displaymenu.h for compile with VDR < 2.2.0 --- HISTORY | 4 +++- displaymenu.h | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 35336a2a..19eccbac 100644 --- a/HISTORY +++ b/HISTORY @@ -1,7 +1,9 @@ VDR Plugin 'skinflatplus' Revision History --------------------------------------- +2015-MM-DD: Version 0.5.2 +- [fix] eMenuSortMode in displaymenu.h for compile with VDR < 2.2.0 -2015-XX-XX: Version 0.5.1 +2015-02-14: Version 0.5.1 - [fix] topbar number recordings - [fix] recording menu, total count size - [fix] timer widget diff --git a/displaymenu.h b/displaymenu.h index 8ef1d4d0..711e530b 100644 --- a/displaymenu.h +++ b/displaymenu.h @@ -11,6 +11,16 @@ #include using namespace std; +#if APIVERSNUM < 20107 + enum eMenuSortMode { + msmUnknown = 0, + msmNumber, + msmName, + msmTime, + msmProvider + }; +#endif + class cFlatDisplayMenu : public cFlatBaseRender, public cSkinDisplayMenu { private: cPixmap *menuPixmap; -- cgit v1.2.3