summaryrefslogtreecommitdiff
path: root/plugin/setup.h
blob: 542145758eb2d3b277d607f07242be310f7f1c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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