summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2009-04-11 20:27:30 +0200
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2009-04-11 20:27:30 +0200
commit59407d314666e9c334e8af7d8300dcf0198f60ea (patch)
tree9d0e6b29af4ecfbe258cb6e155241dc639bcaff6 /patches
parent38564525ae5eafd180fda5ebc400d5db01df5515 (diff)
downloadvdr-plugin-epgsearch-59407d314666e9c334e8af7d8300dcf0198f60ea.tar.gz
vdr-plugin-epgsearch-59407d314666e9c334e8af7d8300dcf0198f60ea.tar.bz2
new patch to integrate epgsearch's timer edit menu in VDR timer menu
Diffstat (limited to 'patches')
-rw-r--r--patches/README.patches4
-rw-r--r--patches/vdr.epgsearch-exttimeredit.diff26
2 files changed, 29 insertions, 1 deletions
diff --git a/patches/README.patches b/patches/README.patches
index ab32547..376907c 100644
--- a/patches/README.patches
+++ b/patches/README.patches
@@ -10,4 +10,6 @@ Description of patches
this patch adds a timer commands menu to VDR's timer menu, that can be called with '0'.
It can be used e.g. to search for repeats of a timer.
- vdr-1.5.11-progressbar-support-0.0.1.diff:
- this patch adds progressbar support to VDR's skins 'classic' and 'st:tng' \ No newline at end of file
+ this patch adds progressbar support to VDR's skins 'classic' and 'st:tng'
+- vdr.epgsearch-exttimeredit.diff:
+ this patch against VDR integrates epgsearch's timer edit menu to VDR's timer menu. \ No newline at end of file
diff --git a/patches/vdr.epgsearch-exttimeredit.diff b/patches/vdr.epgsearch-exttimeredit.diff
new file mode 100644
index 0000000..36e3554
--- /dev/null
+++ b/patches/vdr.epgsearch-exttimeredit.diff
@@ -0,0 +1,26 @@
+--- menu.c.orig 2009-04-11 14:47:08.000000000 +0200
++++ menu.c 2009-04-11 15:13:30.000000000 +0200
+@@ -985,6 +985,23 @@ eOSState cMenuTimers::Edit(void)
+ if (HasSubMenu() || Count() == 0)
+ return osContinue;
+ isyslog("editing timer %s", *CurrentTimer()->ToDescr());
++
++ // Data structure for service "Epgsearch-exttimeredit-v1.0"
++ struct Epgsearch_exttimeredit_v1_0
++ {
++ // in
++ cTimer* timer; // pointer to the timer to edit
++ bool bNew; // flag that indicates, if this is a new timer or an existing one
++ const cEvent* event; // pointer to the event corresponding to this timer (may be NULL)
++ // out
++ cOsdMenu* pTimerMenu; // pointer to the menu of results
++ } exttimeredit;
++ exttimeredit.timer = CurrentTimer();
++ exttimeredit.bNew = false;
++ exttimeredit.event = NULL;
++ if (cPluginManager::CallFirstService("Epgsearch-exttimeredit-v1.0", &exttimeredit))
++ return AddSubMenu(exttimeredit.pTimerMenu);
++
+ return AddSubMenu(new cMenuEditTimer(CurrentTimer()));
+ }
+