remove unneeded CConfigFile from lcdd and shutdown_count

Origin commit data
------------------
Branch: ni/coolstream
Commit: f2791fa792
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-09 (Sat, 09 Nov 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-11-09 16:00:00 +01:00
parent da31fd757e
commit d2ccb40e1e
4 changed files with 5 additions and 14 deletions

View File

@@ -1,13 +1,11 @@
/*
$Id$
LCD-Daemon - DBoxII-Project
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
Copyright (C) 2008 Novell, Inc. Author: Stefan Seyfried
(C) 2009-2012 Stefan Seyfried
(C) 2009-2013 Stefan Seyfried
License: GPL
@@ -85,7 +83,6 @@ static bool isUTF8(const std::string &string)
}
CLCD::CLCD()
: configfile('\t')
{
#ifdef LCD_UPDATE
m_fileList = NULL;

View File

@@ -1,12 +1,10 @@
/*
$Id$
LCD-Daemon - DBoxII-Project
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
Copyright (C) 2008-2012 Stefan Seyfried
Copyright (C) 2008-2013 Stefan Seyfried
License: GPL
@@ -77,8 +75,8 @@ typedef enum
#include "driver/file.h"
#endif // LCD_UPDATE
#include <configfile.h>
#include <pthread.h>
#include <string>
#ifdef HAVE_TRIPLEDRAGON
#include <lcddisplay/fontrenderer.h>
@@ -149,7 +147,6 @@ class CLCD
bool showclock;
bool movie_centered;
bool movie_is_ac3;
CConfigFile configfile;
pthread_t thrTime;
bool thread_started;
int last_toggle_state_power;

View File

@@ -4,7 +4,7 @@
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
Copyright (C) 2012 Stefan Seyfried
Copyright (C) 2012-2013 Stefan Seyfried
License: GPL
@@ -40,7 +40,6 @@
SHTDCNT::SHTDCNT()
: configfile('\t')
{
thread_running = false;
}

View File

@@ -4,7 +4,7 @@
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
Copyright (C) 2012 Stefan Seyfried
Copyright (C) 2012-2013 Stefan Seyfried
License: GPL
@@ -26,7 +26,6 @@
#ifndef __shutdown_count__
#define __shutdown_count__
#include <configfile.h>
#include <pthread.h>
class SHTDCNT
@@ -37,7 +36,6 @@ class SHTDCNT
bool thread_running;
unsigned int shutdown_cnt;
unsigned int sleep_cnt;
CConfigFile configfile;
void shutdown_counter();
SHTDCNT();