summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/setup.h b/setup.h
new file mode 100644
index 0000000..3206e49
--- /dev/null
+++ b/setup.h
@@ -0,0 +1,49 @@
+/*
+ * setup.h: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * $Id$
+ */
+
+#ifndef __setup_h_
+#define __setup_h_
+
+#include <vdr/plugin.h>
+#include <vdr/menuitems.h>
+#include "global.h"
+
+class cMenuSetupInfosatepg : public cMenuSetupPage
+{
+private:
+ cGlobalInfosatepg *global;
+ int newChannel;
+ int newWaitTime;
+ int newEventTimeDiff;
+ int newPid;
+ int chanCurrent;
+protected:
+ virtual void Store(void);
+private:
+ cOsdItem *NewTitle(const char *s);
+ eOSState Edit(void);
+public:
+ cMenuSetupInfosatepg(cGlobalInfosatepg *Global);
+ virtual eOSState ProcessKey(eKeys Key);
+};
+
+class cMenuSetupChannelMenu : public cMenuSetupPage
+{
+private:
+ cGlobalInfosatepg *global;
+ const char * ChannelUseText[6];
+ int newChannelUse;
+ int index;
+ cChannel *channel;
+protected:
+ virtual void Store(void);
+public:
+ cMenuSetupChannelMenu(cGlobalInfosatepg *Global, int Index);
+};
+
+#endif