mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
screensaver: move code for ignored msgs to screensaver code
Origin commit data
------------------
Commit: 5395c047f5
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-08-03 (Fri, 03 Aug 2018)
Origin message was:
------------------
- screensaver: move code for ignored msgs to screensaver code
This commit is contained in:
@@ -377,3 +377,20 @@ bool CScreenSaver::isActive()
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CScreenSaver::ignoredMsg(neutrino_msg_t msg)
|
||||
{
|
||||
/* screensaver will ignore these msgs */
|
||||
if (
|
||||
msg == NeutrinoMessages::EVT_CURRENTEPG
|
||||
|| msg == NeutrinoMessages::EVT_NEXTEPG
|
||||
|| msg == NeutrinoMessages::EVT_CURRENTNEXT_EPG
|
||||
|| msg == NeutrinoMessages::EVT_TIMESET
|
||||
|| msg == NeutrinoMessages::EVT_PROGRAMLOCKSTATUS
|
||||
|| msg == NeutrinoMessages::EVT_ZAP_GOT_SUBSERVICES
|
||||
|| msg == NeutrinoMessages::EVT_ZAP_GOTAPIDS
|
||||
|| msg == NeutrinoMessages::EVT_ZAP_GOTPIDS
|
||||
)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user