diff options
Diffstat (limited to 'plugin/setup.h')
-rw-r--r-- | plugin/setup.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/plugin/setup.h b/plugin/setup.h new file mode 100644 index 0000000..5421457 --- /dev/null +++ b/plugin/setup.h @@ -0,0 +1,36 @@ +/* + * setup.h: A plugin for the Video Disk Recorder + * + * See the README file for copyright information and how to reach the author. + * + */ +#ifndef __setup_h_ +#define __setup_h_ + +#include <vdr/menuitems.h> +#include "status.h" + +struct setup +{ + bool ProcessDuring; + bool whileRecording; + bool whilePlaying; +}; + +class cSetupMarkAd : public cMenuSetupPage +{ +private: + const char *processTexts[2]; + struct setup *setup; + int processduring; + int whilerecording; + int whileplaying; + void write(void); +protected: + virtual void Store(void); +public: + cSetupMarkAd(struct setup *setup); + eOSState ProcessKey(eKeys Key); +}; + +#endif |