mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
eitd/sectionsd.cpp: add getEventsCount()
This commit is contained in:
@@ -2821,3 +2821,11 @@ void CEitManager::setLanguages(const std::vector<std::string>& newLanguages)
|
||||
SIlanguage::setLanguages(newLanguages);
|
||||
SIlanguage::saveLanguages();
|
||||
}
|
||||
|
||||
unsigned CEitManager::getEventsCount()
|
||||
{
|
||||
readLockEvents();
|
||||
unsigned anzEvents = mySIeventsOrderUniqueKey.size();
|
||||
unlockEvents();
|
||||
return anzEvents;
|
||||
}
|
||||
|
Reference in New Issue
Block a user