diff options
author | Thomas Maass <mase@mase1.setho.org> | 2013-09-22 18:09:18 +0200 |
---|---|---|
committer | Thomas Maass <mase@mase1.setho.org> | 2013-09-22 18:09:18 +0200 |
commit | 8cc24eb1c96d0b5967de39dee9c4dc4a2ccc940f (patch) | |
tree | 48b5f8e49ea515266988c4ed772236b1ff96115b /setup.h | |
download | vdr-plugin-hddarchive-8cc24eb1c96d0b5967de39dee9c4dc4a2ccc940f.tar.gz vdr-plugin-hddarchive-8cc24eb1c96d0b5967de39dee9c4dc4a2ccc940f.tar.bz2 |
Initial commit.
Diffstat (limited to 'setup.h')
-rwxr-xr-x | setup.h | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -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 |