diff options
Diffstat (limited to 'ffnetdevsetup.c')
| -rw-r--r-- | ffnetdevsetup.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ffnetdevsetup.c b/ffnetdevsetup.c new file mode 100644 index 0000000..6c0c339 --- /dev/null +++ b/ffnetdevsetup.c @@ -0,0 +1,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); +} + + |
