summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2013-01-07 21:29:45 +0200
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2013-01-07 21:29:45 +0200
commitc6ffcc01aa82582b119de294ff40aac915c88e19 (patch)
treeac6881e6c72f9f2511bcbff7d5d29607a9ff9711 /menu.h
downloadvdr-plugin-history-c6ffcc01aa82582b119de294ff40aac915c88e19.tar.gz
vdr-plugin-history-c6ffcc01aa82582b119de294ff40aac915c88e19.tar.bz2
Initial commit. Version 0.0.3.v0.0.3
Diffstat (limited to 'menu.h')
-rwxr-xr-xmenu.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/menu.h b/menu.h
new file mode 100755
index 0000000..9811467
--- /dev/null
+++ b/menu.h
@@ -0,0 +1,34 @@
+/*
+ * setup_menu.h: Setup Menu
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#ifndef __HISTORY_MENU_H
+#define __HISTORY_MENU_H
+
+#include <vdr/menu.h>
+#include <vdr/menuitems.h>
+#include <vdr/recording.h>
+
+class cHistoryRecordingMenuItem;
+
+class cHistoryMainMenu : public cOsdMenu
+{
+private:
+ cHistoryLogger *history_logger;
+ void SetHelpKeys();
+ void SetMenu();
+ eOSState Delete();
+ eOSState Info();
+ eOSState Play();
+ eOSState Rewind();
+ cRecording *GetRecording(cHistoryRecordingMenuItem *Item);
+
+public:
+ cHistoryMainMenu(cHistoryLogger *HistoryLogger);
+ virtual eOSState ProcessKey(eKeys Key);
+};
+
+#endif //__HISTORY_MENU_H