remove unneeded CConfigFile from lcdd and shutdown_count

This commit is contained in:
Stefan Seyfried
2013-11-13 08:54:09 +01:00
committed by svenhoefer
parent e75526bad3
commit 769d310455
4 changed files with 1 additions and 13 deletions

View File

@@ -1,6 +1,4 @@
/*
$Id$
LCD-Daemon - DBoxII-Project
Copyright (C) 2001 Steffen Hehn 'McClean'
@@ -85,7 +83,6 @@ static bool isUTF8(const std::string &string)
}
CLCD::CLCD()
: configfile('\t')
{
#ifdef LCD_UPDATE
m_fileList = NULL;

View File

@@ -1,6 +1,4 @@
/*
$Id$
LCD-Daemon - DBoxII-Project
Copyright (C) 2001 Steffen Hehn 'McClean'
@@ -80,8 +78,8 @@ typedef enum
#include "driver/file.h"
#endif // LCD_UPDATE
#include <configfile.h>
#include <pthread.h>
#include <string>
#include <lcddisplay/fontrenderer.h>
@@ -150,7 +148,6 @@ class CLCD
bool showclock;
bool movie_centered;
bool movie_is_ac3;
CConfigFile configfile;
pthread_t thrTime;
int last_toggle_state_power;
int clearClock;

View File

@@ -4,7 +4,6 @@
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
License: GPL
This program is free software; you can redistribute it and/or modify
@@ -39,7 +38,6 @@
SHTDCNT::SHTDCNT()
: configfile('\t')
{
}

View File

@@ -4,8 +4,6 @@
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
License: GPL
This program is free software; you can redistribute it and/or modify
@@ -26,7 +24,6 @@
#ifndef __shutdown_count__
#define __shutdown_count__
#include <configfile.h>
#include <pthread.h>
class SHTDCNT
@@ -36,7 +33,6 @@ class SHTDCNT
pthread_t thrTime;
unsigned int shutdown_cnt;
unsigned int sleep_cnt;
CConfigFile configfile;
void shutdown_counter();
SHTDCNT();