summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/menu.h b/menu.h
new file mode 100644
index 0000000..5a170d4
--- /dev/null
+++ b/menu.h
@@ -0,0 +1,37 @@
+/*
+ * menu.h: Menu implementation for duplicates plugin.
+ *
+ * The menu implementation is based on recordings menu in VDR.
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * $Id$
+ */
+
+#ifndef _DUPLICATES_MENU_H
+#define _DUPLICATES_MENU_H
+
+#include <vdr/osdbase.h>
+#include <vdr/recording.h>
+
+class cMenuDuplicateItem;
+
+// --- cMenuDuplicates -------------------------------------------------------
+
+class cMenuDuplicates : public cOsdMenu {
+private:
+ int recordingsState;
+ int helpKeys;
+ void SetHelpKeys(void);
+ void Set(bool Refresh = false);
+ eOSState Delete(void);
+ eOSState Info(void);
+protected:
+ cRecording *GetRecording(cMenuDuplicateItem *Item);
+public:
+ cMenuDuplicates();
+ ~cMenuDuplicates();
+ virtual eOSState ProcessKey(eKeys Key);
+ };
+
+#endif