summaryrefslogtreecommitdiff
path: root/display.h
diff options
context:
space:
mode:
authorandreas 'randy' weinberger <vdr@smue.org>2010-11-23 21:45:02 +0100
committerandreas 'randy' weinberger <vdr@smue.org>2010-11-23 21:45:02 +0100
commit07df0b7d65164254613e77c93ff75e045be0955a (patch)
treee3c1ddbfe5c5eece8d8bedb1a2834ad118ace4e3 /display.h
parent8291136596cf2a6a97d587f09e1378518f6734b6 (diff)
downloadvdr-plugin-graphlcd-07df0b7d65164254613e77c93ff75e045be0955a.tar.gz
vdr-plugin-graphlcd-07df0b7d65164254613e77c93ff75e045be0955a.tar.bz2
fixed vdr 1.6.0 combatibility0.1.8
Diffstat (limited to 'display.h')
-rw-r--r--display.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/display.h b/display.h
index 09e297a..a9a1354 100644
--- a/display.h
+++ b/display.h
@@ -131,10 +131,15 @@ private:
void UpdateIn(long usec);
bool CheckAndUpdateSymbols();
+#if VDRVERSNUM >= 10701
/** Check if replay index bigger as one hour */
bool IndexIsGreaterAsOneHour(int Index, double framesPerSecond) const;
/** Translate replay index to string with minute and second MM:SS */
const char *IndexToMS(int Index, double framesPerSecond) const;
+#else
+ bool IndexIsGreaterAsOneHour(int Index) const;
+ const char *IndexToMS(int Index) const;
+#endif
/** Compare Scroller with new Textbuffer*/
bool IsScrollerTextChanged(const std::vector<cScroller> & scroller, const std::vector <std::string> & lines) const;
/** Returns true if Logo loaded and active*/