mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
lcd4l: rename OnAfterError->OnError
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0705705b31
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-07-17 (Sat, 17 Jul 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -169,7 +169,7 @@ void CLCD4l::StartLCD4l()
|
|||||||
if (exec_initscript("lcd4linux", "start"))
|
if (exec_initscript("lcd4linux", "start"))
|
||||||
OnAfterStart();
|
OnAfterStart();
|
||||||
else
|
else
|
||||||
OnAfterError();
|
OnError();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -192,7 +192,7 @@ void CLCD4l::StopLCD4l()
|
|||||||
if (exec_initscript("lcd4linux", "stop"))
|
if (exec_initscript("lcd4linux", "stop"))
|
||||||
OnAfterStop();
|
OnAfterStop();
|
||||||
else
|
else
|
||||||
OnAfterError();
|
OnError();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLCD4l::SwitchLCD4l()
|
void CLCD4l::SwitchLCD4l()
|
||||||
@@ -861,7 +861,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
|||||||
if (exec_initscript("lcd4linux", "restart"))
|
if (exec_initscript("lcd4linux", "restart"))
|
||||||
OnAfterRestart();
|
OnAfterRestart();
|
||||||
else
|
else
|
||||||
OnAfterError();
|
OnError();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -73,7 +73,7 @@ class CLCD4l
|
|||||||
OnAfterStop,
|
OnAfterStop,
|
||||||
OnBeforeRestart,
|
OnBeforeRestart,
|
||||||
OnAfterRestart,
|
OnAfterRestart,
|
||||||
OnAfterError;
|
OnAfter;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::thread *thrLCD4l;
|
std::thread *thrLCD4l;
|
||||||
|
@@ -341,5 +341,5 @@ void CLCD4lSetup::connectSlots()
|
|||||||
CLCD4l::getInstance()->OnAfterStop.connect(sl_remove);
|
CLCD4l::getInstance()->OnAfterStop.connect(sl_remove);
|
||||||
CLCD4l::getInstance()->OnAfterRestart.connect(sl_remove);
|
CLCD4l::getInstance()->OnAfterRestart.connect(sl_remove);
|
||||||
|
|
||||||
CLCD4l::getInstance()->OnAfterError.connect(sl_remove);
|
CLCD4l::getInstance()->OnError.connect(sl_remove);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user