summaryrefslogtreecommitdiff
path: root/config.c
blob: 6fb84e566c88d5ed3b87c6b95e3cb49b6a8d42ce (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
/*
 * config.c: 'EnigmaNG' skin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#include <stdlib.h>
#include "common.h"
#include "config.h"

cEnigmaConfig EnigmaConfig;

cEnigmaConfig::cEnigmaConfig() : showAuxInfo(1), showLogo(1), showVps(1), showSymbols(1),
                                 showListSymbols(1), showProgressbar(1), cacheSize(50),
                                 useChannelId(0), showInfo(1), showRemaining(0), showMarker(1),
                                 singleArea(1)
{
  memset(logoDir, 0, sizeof(logoDir));
}

cEnigmaConfig::~cEnigmaConfig()
{
}

void cEnigmaConfig::SetLogoDir(const char *logodirP)
{
  if (logodirP)
  {
    debug("cEnigmaConfig::SetLogoDir(%s)\n", logodirP);
    strncpy(logoDir, logodirP, sizeof(logoDir));
  }
}