blob: 5818ebfa3bfa0a4b01648c6a62cd5f4494fbf251 (
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
|
/*
* config.c: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#include <stdlib.h>
#include <strings.h>
#include <vdr/plugin.h>
#include "config.h"
cDuplicatesConfig::cDuplicatesConfig() {
title = 1;
}
cDuplicatesConfig::~cDuplicatesConfig() { }
bool cDuplicatesConfig::SetupParse(const char *Name, const char *Value) {
if (!strcasecmp(Name, "title")) title = atoi(Value);
else
return false;
return true;
}
void cDuplicatesConfig::Store(void) {
cPluginManager::GetPlugin(PLUGIN_NAME_I18N)->SetupStore("title", title);
}
cDuplicatesConfig dc;
|