mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
zapit/lib/zapitclient.cpp: comment get/setConfig
This commit is contained in:
@@ -378,8 +378,10 @@ class CZapitClient:public CBasicClient
|
||||
/* */
|
||||
/****************************************/
|
||||
/* start TS-Scan */
|
||||
#if 0
|
||||
bool setConfig(Zapit_config Cfg);
|
||||
void getConfig(Zapit_config * Cfg);
|
||||
#endif
|
||||
bool Rezap();
|
||||
bool startScan(int scan_mode);
|
||||
bool stopScan();
|
||||
|
@@ -585,6 +585,7 @@ bool CZapitClient::stopScan()
|
||||
close_connection();
|
||||
return reply;
|
||||
}
|
||||
#if 0
|
||||
bool CZapitClient::setConfig(Zapit_config Cfg)
|
||||
{
|
||||
//bool reply = send(CZapitMessages::CMD_LOADCONFIG);
|
||||
@@ -598,6 +599,7 @@ void CZapitClient::getConfig (Zapit_config * Cfg)
|
||||
CBasicClient::receive_data((char *) Cfg, sizeof(Zapit_config));
|
||||
close_connection();
|
||||
}
|
||||
#endif
|
||||
bool CZapitClient::Rezap()
|
||||
{
|
||||
bool reply = send(CZapitMessages::CMD_REZAP);
|
||||
|
@@ -1018,7 +1018,7 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
||||
CServiceScan::getInstance()->Abort();
|
||||
CServiceScan::getInstance()->Stop();
|
||||
break;
|
||||
|
||||
#if 0
|
||||
case CZapitMessages::CMD_SETCONFIG:
|
||||
Zapit_config Cfg;
|
||||
CBasicServer::receive_data(connfd, &Cfg, sizeof(Cfg));
|
||||
@@ -1027,6 +1027,7 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
||||
case CZapitMessages::CMD_GETCONFIG:
|
||||
SendConfig(connfd);
|
||||
break;
|
||||
#endif
|
||||
case CZapitMessages::CMD_REZAP:
|
||||
if (currentMode & RECORD_MODE)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user