1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- powermate-0.0.3/powermate.c
+++ powermate-0.0.3/powermate.c
@@ -253,9 +253,15 @@
cRemote::Put(key);
}
+#if VDRVERSNUM >= 10338
+void cPowerMate::Replaying(const cControl *Control, const char *Name, const char *FileName, bool On)
+{
+ if (On)
+#else
void cPowerMate::Replaying(const cControl *Control, const char *Name)
{
if (Name)
+#endif
{
context = kContextReplay;
}
--- powermate-0.0.3/powermate.h
+++ powermate-0.0.3/powermate.h
@@ -42,7 +42,11 @@
virtual ~cPowerMate();
void SetBrightness(int brightness);
+#if VDRVERSNUM >= 10338
+ virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On);
+#else
virtual void Replaying(const cControl *Control, const char *Name);
+#endif
virtual void OsdClear(void);
virtual void OsdTitle(const char *Title);
virtual void OsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue);
|