summaryrefslogtreecommitdiff
path: root/setup.h
blob: 0b4d7cfa1981a20b2252bab88de1835c1b89c3de (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
37
38
39
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