mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
l4l: force update of output files if ...
lcd4linux is not running and display is changed in automatic mode
This commit is contained in:
@@ -56,6 +56,7 @@ class CLCD4l
|
||||
void StartLCD4l();
|
||||
void StopLCD4l();
|
||||
void SwitchLCD4l();
|
||||
void ForceRun() { wait4lcd = false; }
|
||||
|
||||
int CreateFile(const char *file, std::string content = "", bool convert = false);
|
||||
int RemoveFile(const char *file);
|
||||
@@ -69,6 +70,7 @@ class CLCD4l
|
||||
static void* LCD4lProc(void *arg);
|
||||
|
||||
struct tm *tm_struct;
|
||||
bool wait4lcd;
|
||||
|
||||
// Functions
|
||||
void Init();
|
||||
@@ -82,6 +84,9 @@ class CLCD4l
|
||||
void strReplace(std::string &orig, const std::string &fstr, const std::string &rstr);
|
||||
bool WriteFile(const char *file, std::string content = "", bool convert = false);
|
||||
|
||||
void SetWaitStatus(bool wait) { wait4lcd = wait; }
|
||||
bool GetWaitStatus() { return wait4lcd; }
|
||||
|
||||
// Variables
|
||||
uint64_t m_ParseID;
|
||||
int m_Mode;
|
||||
|
Reference in New Issue
Block a user