mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
lcd4l: add and use wrapper functions to handle /tmp/lcd/menu
Origin commit data
------------------
Commit: e2cf2d835a
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-18 (Sat, 18 Sep 2021)
Origin message was:
------------------
- lcd4l: add and use wrapper functions to handle /tmp/lcd/menu
This commit is contained in:
@@ -400,7 +400,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
cGLCD::unlockChannel();
|
||||
#endif
|
||||
#ifdef ENABLE_LCD4LINUX
|
||||
CLCD4l::getInstance()->RemoveFile("/tmp/lcd/menu");
|
||||
CLCD4l::getInstance()->RemoveMenuFile();
|
||||
#endif
|
||||
return menu_return::RETURN_REPAINT;
|
||||
}
|
||||
@@ -433,7 +433,7 @@ neutrino_msg_t CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
#endif
|
||||
#ifdef ENABLE_LCD4LINUX
|
||||
if (g_settings.lcd4l_support)
|
||||
CLCD4l::getInstance()->CreateFile("/tmp/lcd/menu", g_Locale->getText(LOCALE_SCANTS_HEAD), g_settings.lcd4l_convert);
|
||||
CLCD4l::getInstance()->CreateMenuFile(g_Locale->getText(LOCALE_SCANTS_HEAD), g_settings.lcd4l_convert);
|
||||
#endif
|
||||
break;
|
||||
|
||||
@@ -450,7 +450,7 @@ neutrino_msg_t CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
#endif
|
||||
#ifdef ENABLE_LCD4LINUX
|
||||
if (g_settings.lcd4l_support)
|
||||
CLCD4l::getInstance()->CreateFile("/tmp/lcd/menu", g_Locale->getText(LOCALE_SCANTS_HEAD), g_settings.lcd4l_convert);
|
||||
CLCD4l::getInstance()->CreateMenuFile(g_Locale->getText(LOCALE_SCANTS_HEAD), g_settings.lcd4l_convert);
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user