mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
l4l: force update of output files if ...
lcd4linux is not running and display is changed in automatic mode
Origin commit data
------------------
Commit: 03281f959c
Author: GetAway <get-away@t-online.de>
Date: 2019-01-20 (Sun, 20 Jan 2019)
This commit is contained in:
@@ -52,6 +52,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);
|
||||
@@ -65,6 +66,7 @@ class CLCD4l
|
||||
static void* LCD4lProc(void *arg);
|
||||
|
||||
struct tm *tm_struct;
|
||||
bool wait4lcd;
|
||||
|
||||
// Functions
|
||||
void Init();
|
||||
@@ -78,6 +80,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