mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- neutrino: unify modes handling; ...
remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -96,7 +96,7 @@ void SHTDCNT::shutdown_counter()
|
||||
static bool sleeptimer_active = true;
|
||||
if (g_settings.shutdown_count > 0)
|
||||
{
|
||||
if ((CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_standby) && (!CNeutrinoApp::getInstance ()->recordingstatus))
|
||||
if ((CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_standby) && (!CNeutrinoApp::getInstance ()->recordingstatus))
|
||||
{
|
||||
if (shutdown_cnt > 0 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user