zapit/lib/zapitclient.cpp: comment get/setConfig

This commit is contained in:
[CST] Focus
2012-04-10 15:22:57 +04:00
parent 094fd3c0b5
commit 1817b5ddeb
3 changed files with 6 additions and 1 deletions

View File

@@ -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();

View File

@@ -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);

View File

@@ -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;