- lcd4l: introduce getInstance()

Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-06-13 23:28:24 +02:00
committed by Thilo Graf
parent 71d50060a5
commit 4592cbc239
9 changed files with 29 additions and 39 deletions

View File

@@ -58,7 +58,6 @@
#ifdef ENABLE_LCD4LINUX
#include "driver/lcd4l.h"
extern CLCD4l *LCD4l;
#endif
extern CBouquetManager *g_bouquetManager;
@@ -598,7 +597,7 @@ int CBouquetList::show(bool bShowChannelList)
cGLCD::unlockChannel();
#endif
#ifdef ENABLE_LCD4LINUX
LCD4l->RemoveFile("/tmp/lcd/menu");
CLCD4l::getInstance()->RemoveFile("/tmp/lcd/menu");
#endif
fader.StopFade();
@@ -664,7 +663,7 @@ void CBouquetList::paintItem(int pos)
#endif
#ifdef ENABLE_LCD4LINUX
if(g_settings.lcd4l_support)
LCD4l->CreateFile("/tmp/lcd/menu", lname, g_settings.lcd4l_convert);
CLCD4l::getInstance()->CreateFile("/tmp/lcd/menu", lname, g_settings.lcd4l_convert);
#endif
}
else