mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
- lcd4l: introduce getInstance()
Conflicts: src/neutrino.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -131,6 +131,14 @@ CLCD4l::~CLCD4l()
|
||||
thrLCD4l = NULL;
|
||||
}
|
||||
|
||||
CLCD4l *CLCD4l::getInstance()
|
||||
{
|
||||
static CLCD4l *me = NULL;
|
||||
if (!me)
|
||||
me = new CLCD4l();
|
||||
return me;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
void CLCD4l::InitLCD4l()
|
||||
|
Reference in New Issue
Block a user