summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authorTimo Eskola <timo@tolleri.net>2015-09-08 10:12:46 +0300
committerTimo Eskola <timo@tolleri.net>2015-09-08 10:12:46 +0300
commit990f0f4b89f3603aed89c69089c4f912e8a07d3a (patch)
treee2d89ac3013c601c0b68c9b8fc46911769ef513b /menu.h
downloadvdr-plugin-duplicates-990f0f4b89f3603aed89c69089c4f912e8a07d3a.tar.gz
vdr-plugin-duplicates-990f0f4b89f3603aed89c69089c4f912e8a07d3a.tar.bz2
Version 0.0.1:
- Initial revision.
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