diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-04-21 19:07:52 +0200 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-04-21 19:07:52 +0200 |
commit | e6bd92773bdd36685070a1e06b677fd6bc539a70 (patch) | |
tree | 2551ea5b49384db66aa6406279e195a127d82c92 /patches/vdr.epgsearch-exttimeredit.diff | |
parent | 59407d314666e9c334e8af7d8300dcf0198f60ea (diff) | |
download | vdr-plugin-epgsearch-e6bd92773bdd36685070a1e06b677fd6bc539a70.tar.gz vdr-plugin-epgsearch-e6bd92773bdd36685070a1e06b677fd6bc539a70.tar.bz2 |
direct timer programming in timer edit menu
Diffstat (limited to 'patches/vdr.epgsearch-exttimeredit.diff')
-rw-r--r-- | patches/vdr.epgsearch-exttimeredit.diff | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/patches/vdr.epgsearch-exttimeredit.diff b/patches/vdr.epgsearch-exttimeredit.diff deleted file mode 100644 index 36e3554..0000000 --- a/patches/vdr.epgsearch-exttimeredit.diff +++ /dev/null @@ -1,26 +0,0 @@ ---- 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())); - } - |