summaryrefslogtreecommitdiff
path: root/recmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'recmenu.c')
-rw-r--r--recmenu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/recmenu.c b/recmenu.c
index 728db1e..0dc1606 100644
--- a/recmenu.c
+++ b/recmenu.c
@@ -463,6 +463,15 @@ const cEvent *cRecMenu::GetEventValue(int itemNumber) {
return NULL;
}
+cTimer *cRecMenu::GetTimerValue(int itemNumber) {
+ cRecMenuItem *item = NULL;
+ item = menuItems.Get(itemNumber);
+ if (item) {
+ return item->GetTimerValue();
+ }
+ return NULL;
+}
+
eRecMenuState cRecMenu::ProcessKey(eKeys Key) {
cRecMenuItem *activeItem = GetActiveMenuItem();
eRecMenuState state = rmsContinue;