summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorThomas Maass <mase@mase1.setho.org>2013-09-22 18:09:18 +0200
committerThomas Maass <mase@mase1.setho.org>2013-09-22 18:09:18 +0200
commit8cc24eb1c96d0b5967de39dee9c4dc4a2ccc940f (patch)
tree48b5f8e49ea515266988c4ed772236b1ff96115b /setup.h
downloadvdr-plugin-hddarchive-8cc24eb1c96d0b5967de39dee9c4dc4a2ccc940f.tar.gz
vdr-plugin-hddarchive-8cc24eb1c96d0b5967de39dee9c4dc4a2ccc940f.tar.bz2
Initial commit.
Diffstat (limited to 'setup.h')
-rwxr-xr-xsetup.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/setup.h b/setup.h
new file mode 100755
index 0000000..0b4d7cf
--- /dev/null
+++ b/setup.h
@@ -0,0 +1,40 @@
+/*
+ * 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>
+
+class cHddArchiveConfig
+{
+ public:
+ cHddArchiveConfig();
+ ~cHddArchiveConfig();
+ bool SetupParse(const char *Name, const char *Value);
+ char ArchiveDevice[NAME_MAX + 1];
+ char ArchiveMountpoint[NAME_MAX + 1];
+};
+
+class cHddArchiveSetup : public cMenuSetupPage
+{
+ public:
+ cHddArchiveSetup();
+ virtual ~cHddArchiveSetup();
+ char ArchiveDevice[NAME_MAX + 1];
+ char ArchiveMountpoint[NAME_MAX + 1];
+ private:
+ void Setup(void);
+ virtual void Store(void);
+ virtual eOSState ProcessKey(eKeys Key);
+ cHddArchiveConfig tmpHddArchiveConfig;
+};
+
+extern cHddArchiveConfig HddArchiveConfig;
+
+#endif