summaryrefslogtreecommitdiff
path: root/ffnetdevsetup.c
blob: 6c0c339cf45b809cc184229a85687955ac751ac2 (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
/*
 * ffnetdevsetup.c: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id$
 */
 

#include "ffnetdevsetup.h"
#include "config.h"

cFFNetDevSetup::cFFNetDevSetup(void)
{

  m_iAutoSetPrimaryDVB         = config.iAutoSetPrimaryDVB;
  
  Add(new cMenuEditBoolItem(tr("auto set as primary device"),                 &m_iAutoSetPrimaryDVB, tr("no"), tr("yes")));
}

void cFFNetDevSetup::Store(void)
{
  SetupStore("AutoSetPrimaryDVB",         config.iAutoSetPrimaryDVB = m_iAutoSetPrimaryDVB);
}