mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
src/zapit/src/zapit.cpp: add missing member functions
Avoids possible reverence compile errors. taken from https://bitbucket.org/neutrino-images/ni-neutrino-hd
This commit is contained in:
@@ -112,6 +112,9 @@ class CCamManager
|
||||
void SetCITuner(int tuner);
|
||||
int GetCITuner(void) { return tunerno; };
|
||||
void EnableChannelFilter(bool enable) { filter_channels = enable; };
|
||||
bool getUseCI() { return useCI; };
|
||||
bool getChannelFilter() { return filter_channels; };
|
||||
void enableMoviePlayer(bool enable) { mp = enable; };
|
||||
|
||||
};
|
||||
#endif /* __capmt_h__ */
|
||||
|
@@ -2623,6 +2623,16 @@ static bool zapit_parse_command(CBasicMessage::Header &rmsg, int connfd)
|
||||
return CZapit::getInstance()->ParseCommand(rmsg, connfd);
|
||||
}
|
||||
|
||||
bool CZapit::getUseChannelFilter()
|
||||
{
|
||||
return CCamManager::getInstance()->getChannelFilter();
|
||||
}
|
||||
|
||||
void CZapit::setMoviePlayer(bool enable)
|
||||
{
|
||||
CCamManager::getInstance()->enableMoviePlayer(enable);
|
||||
}
|
||||
|
||||
void CZapit::run()
|
||||
{
|
||||
//if HAVE_SPARK_HARDWARE
|
||||
|
Reference in New Issue
Block a user