mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
remove unneeded CConfigFile from lcdd and shutdown_count
This commit is contained in:
@@ -1,13 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
$Id$
|
|
||||||
|
|
||||||
LCD-Daemon - DBoxII-Project
|
LCD-Daemon - DBoxII-Project
|
||||||
|
|
||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
Homepage: http://dbox.cyberphoria.org/
|
Homepage: http://dbox.cyberphoria.org/
|
||||||
|
|
||||||
Copyright (C) 2008 Novell, Inc. Author: Stefan Seyfried
|
Copyright (C) 2008 Novell, Inc. Author: Stefan Seyfried
|
||||||
(C) 2009-2012 Stefan Seyfried
|
(C) 2009-2013 Stefan Seyfried
|
||||||
|
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
@@ -85,7 +83,6 @@ static bool isUTF8(const std::string &string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
CLCD::CLCD()
|
CLCD::CLCD()
|
||||||
: configfile('\t')
|
|
||||||
{
|
{
|
||||||
#ifdef LCD_UPDATE
|
#ifdef LCD_UPDATE
|
||||||
m_fileList = NULL;
|
m_fileList = NULL;
|
||||||
|
@@ -1,12 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
$Id$
|
|
||||||
|
|
||||||
LCD-Daemon - DBoxII-Project
|
LCD-Daemon - DBoxII-Project
|
||||||
|
|
||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
Homepage: http://dbox.cyberphoria.org/
|
Homepage: http://dbox.cyberphoria.org/
|
||||||
|
|
||||||
Copyright (C) 2008-2012 Stefan Seyfried
|
Copyright (C) 2008-2013 Stefan Seyfried
|
||||||
|
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
@@ -77,8 +75,8 @@ typedef enum
|
|||||||
#include "driver/file.h"
|
#include "driver/file.h"
|
||||||
#endif // LCD_UPDATE
|
#endif // LCD_UPDATE
|
||||||
|
|
||||||
#include <configfile.h>
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#ifdef HAVE_TRIPLEDRAGON
|
#ifdef HAVE_TRIPLEDRAGON
|
||||||
#include <lcddisplay/fontrenderer.h>
|
#include <lcddisplay/fontrenderer.h>
|
||||||
@@ -149,7 +147,6 @@ class CLCD
|
|||||||
bool showclock;
|
bool showclock;
|
||||||
bool movie_centered;
|
bool movie_centered;
|
||||||
bool movie_is_ac3;
|
bool movie_is_ac3;
|
||||||
CConfigFile configfile;
|
|
||||||
pthread_t thrTime;
|
pthread_t thrTime;
|
||||||
bool thread_started;
|
bool thread_started;
|
||||||
int last_toggle_state_power;
|
int last_toggle_state_power;
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
Homepage: http://dbox.cyberphoria.org/
|
Homepage: http://dbox.cyberphoria.org/
|
||||||
|
|
||||||
Copyright (C) 2012 Stefan Seyfried
|
Copyright (C) 2012-2013 Stefan Seyfried
|
||||||
|
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
@@ -40,7 +40,6 @@
|
|||||||
|
|
||||||
|
|
||||||
SHTDCNT::SHTDCNT()
|
SHTDCNT::SHTDCNT()
|
||||||
: configfile('\t')
|
|
||||||
{
|
{
|
||||||
thread_running = false;
|
thread_running = false;
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
Homepage: http://dbox.cyberphoria.org/
|
Homepage: http://dbox.cyberphoria.org/
|
||||||
|
|
||||||
Copyright (C) 2012 Stefan Seyfried
|
Copyright (C) 2012-2013 Stefan Seyfried
|
||||||
|
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
@@ -26,7 +26,6 @@
|
|||||||
#ifndef __shutdown_count__
|
#ifndef __shutdown_count__
|
||||||
#define __shutdown_count__
|
#define __shutdown_count__
|
||||||
|
|
||||||
#include <configfile.h>
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
class SHTDCNT
|
class SHTDCNT
|
||||||
@@ -37,7 +36,6 @@ class SHTDCNT
|
|||||||
bool thread_running;
|
bool thread_running;
|
||||||
unsigned int shutdown_cnt;
|
unsigned int shutdown_cnt;
|
||||||
unsigned int sleep_cnt;
|
unsigned int sleep_cnt;
|
||||||
CConfigFile configfile;
|
|
||||||
|
|
||||||
void shutdown_counter();
|
void shutdown_counter();
|
||||||
SHTDCNT();
|
SHTDCNT();
|
||||||
|
Reference in New Issue
Block a user