diff options
| author | Midas <vdrportal_midas@gmx.de> | 2011-04-21 09:06:40 +0200 |
|---|---|---|
| committer | Midas <vdrportal_midas@gmx.de> | 2011-04-21 09:06:40 +0200 |
| commit | bacf88d79eac8dec11cbb53bd1efa5992b63fc01 (patch) | |
| tree | 1708485583737a9f78024e18e93c13d62d36ad48 /patches | |
| download | vdr-plugin-sleeptimer-bacf88d79eac8dec11cbb53bd1efa5992b63fc01.tar.gz vdr-plugin-sleeptimer-bacf88d79eac8dec11cbb53bd1efa5992b63fc01.tar.bz2 | |
Initialization with sleeptimer 0.7 (latest version by Thomas Koch)
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/vdr-1.2.6-sleeptimer.diff | 48 | ||||
| -rw-r--r-- | patches/vdr-1.3.6-sleeptimer.diff | 48 |
2 files changed, 96 insertions, 0 deletions
diff --git a/patches/vdr-1.2.6-sleeptimer.diff b/patches/vdr-1.2.6-sleeptimer.diff new file mode 100644 index 0000000..ad6903e --- /dev/null +++ b/patches/vdr-1.2.6-sleeptimer.diff @@ -0,0 +1,48 @@ +diff -Nur vdr-1.2.6.orig/menu.c vdr-1.2.6/menu.c +--- vdr-1.2.6.orig/menu.c 2003-10-03 16:36:20.000000000 +0200 ++++ vdr-1.2.6/menu.c 2004-03-18 06:04:00.000000000 +0100 +@@ -268,17 +268,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.2.6.orig/menu.h vdr-1.2.6/menu.h +--- vdr-1.2.6.orig/menu.h 2003-08-03 11:37:18.000000000 +0200 ++++ vdr-1.2.6/menu.h 2004-03-18 06:04:00.000000000 +0100 +@@ -16,6 +16,7 @@ + #include "dvbplayer.h" + #include "recorder.h" + #include "recording.h" ++#include "menuitems.h" + + class cMenuMain : public cOsdMenu { + private: +@@ -179,4 +180,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 diff --git a/patches/vdr-1.3.6-sleeptimer.diff b/patches/vdr-1.3.6-sleeptimer.diff new file mode 100644 index 0000000..f5d5309 --- /dev/null +++ b/patches/vdr-1.3.6-sleeptimer.diff @@ -0,0 +1,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 |
