summaryrefslogtreecommitdiff
path: root/patches/vdr-1.3.6-sleeptimer.diff
blob: f5d530989375ca93585e8c96ffc550fed75bd830 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff -Nur vdr-1.3.1.orig/menu.c vdr-1.3.1/menu.c
--- vdr-1.3.1.orig/menu.c	2004-01-11 16:40:32.000000000 +0100
+++ vdr-1.3.1/menu.c	2004-03-18 06:06:19.000000000 +0100
@@ -267,17 +267,6 @@
 
 // --- cMenuEditTimeItem -----------------------------------------------------
 
-class cMenuEditTimeItem : public cMenuEditItem {
-protected:
-  int *value;
-  int hh, mm;
-  int pos;
-  virtual void Set(void);
-public:
-  cMenuEditTimeItem(const char *Name, int *Value);
-  virtual eOSState ProcessKey(eKeys Key);
-  };
-
 cMenuEditTimeItem::cMenuEditTimeItem(const char *Name, int *Value)
 :cMenuEditItem(Name)
 {
diff -Nur vdr-1.3.1.orig/menu.h vdr-1.3.1/menu.h
--- vdr-1.3.1.orig/menu.h	2004-01-04 12:01:13.000000000 +0100
+++ vdr-1.3.1/menu.h	2004-03-18 06:06:19.000000000 +0100
@@ -17,6 +17,7 @@
 #include "dvbplayer.h"
 #include "recorder.h"
 #include "recording.h"
+#include "menuitems.h"
 
 class cMenuMain : public cOsdMenu {
 private:
@@ -182,4 +183,15 @@
   static void ClearLastReplayed(const char *FileName);
   };
 
+class cMenuEditTimeItem : public cMenuEditItem {
+protected:
+  int *value;
+  int hh, mm;
+  int pos;
+  virtual void Set(void);
+public:
+  cMenuEditTimeItem(const char *Name, int *Value);
+  virtual eOSState ProcessKey(eKeys Key);
+  };
+
 #endif //__MENU_H