unused functions

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@345 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-02-15 11:03:18 +00:00
parent 259f49c1bc
commit b00fe11ec2
2 changed files with 18 additions and 6 deletions

View File

@@ -145,7 +145,9 @@ const CControlAPI::TyCgiCall CControlAPI::yCgiCallList[]=
{"reboot", &CControlAPI::RebootCGI, "text/plain"}, {"reboot", &CControlAPI::RebootCGI, "text/plain"},
{"getdate", &CControlAPI::GetDateCGI, "text/plain"}, {"getdate", &CControlAPI::GetDateCGI, "text/plain"},
{"gettime", &CControlAPI::GetTimeCGI, "text/plain"}, {"gettime", &CControlAPI::GetTimeCGI, "text/plain"},
#if 0
{"settings", &CControlAPI::SettingsCGI, "text/plain"}, {"settings", &CControlAPI::SettingsCGI, "text/plain"},
#endif
{"info", &CControlAPI::InfoCGI, "text/plain"}, {"info", &CControlAPI::InfoCGI, "text/plain"},
{"version", &CControlAPI::VersionCGI, ""}, {"version", &CControlAPI::VersionCGI, ""},
// boxcontrol - devices // boxcontrol - devices
@@ -160,7 +162,9 @@ const CControlAPI::TyCgiCall CControlAPI::yCgiCallList[]=
{"exec", &CControlAPI::ExecCGI, "+xml"}, {"exec", &CControlAPI::ExecCGI, "+xml"},
{"yweb", &CControlAPI::YWebCGI, "text/plain"}, {"yweb", &CControlAPI::YWebCGI, "text/plain"},
// video handling // video handling
#if 0
{"aspectratio", &CControlAPI::AspectRatioCGI, "text/plain"}, {"aspectratio", &CControlAPI::AspectRatioCGI, "text/plain"},
#endif
{"videoformat", &CControlAPI::VideoFormatCGI, "text/plain"}, {"videoformat", &CControlAPI::VideoFormatCGI, "text/plain"},
{"videooutput", &CControlAPI::VideoOutputCGI, "text/plain"}, {"videooutput", &CControlAPI::VideoOutputCGI, "text/plain"},
{"vcroutput", &CControlAPI::VCROutputCGI, "text/plain"}, {"vcroutput", &CControlAPI::VCROutputCGI, "text/plain"},
@@ -511,14 +515,14 @@ void CControlAPI::GetTimeCGI(CyhookHandler *hh)
else else
hh->SendError(); hh->SendError();
} }
#if 0
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// send settings // send settings
void CControlAPI::SettingsCGI(CyhookHandler *hh) void CControlAPI::SettingsCGI(CyhookHandler *hh)
{ {
SendSettings(hh); SendSettings(hh);
} }
#endif
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// send services.xml // send services.xml
void CControlAPI::GetServicesxmlCGI(CyhookHandler *hh) void CControlAPI::GetServicesxmlCGI(CyhookHandler *hh)
@@ -582,8 +586,10 @@ void CControlAPI::InfoCGI(CyhookHandler *hh)
{ {
if (hh->ParamList["1"] == "streaminfo") // print streaminfo if (hh->ParamList["1"] == "streaminfo") // print streaminfo
SendStreamInfo(hh); SendStreamInfo(hh);
#if 0
else if (hh->ParamList["1"] == "settings") // print settings else if (hh->ParamList["1"] == "settings") // print settings
SendSettings(hh); SendSettings(hh);
#endif
else if (hh->ParamList["1"] == "version") // send version file else if (hh->ParamList["1"] == "version") // send version file
hh->SendFile("/.version"); hh->SendFile("/.version");
else if (hh->ParamList["1"] == "httpdversion") // print httpd version typ (only ffor comptibility) else if (hh->ParamList["1"] == "httpdversion") // print httpd version typ (only ffor comptibility)
@@ -756,7 +762,7 @@ void CControlAPI::RCEmCGI(CyhookHandler *hh)
close(evd); close(evd);
hh->SendOk(); hh->SendOk();
} }
#if 0
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void CControlAPI::AspectRatioCGI(CyhookHandler *hh) void CControlAPI::AspectRatioCGI(CyhookHandler *hh)
{ {
@@ -764,7 +770,7 @@ void CControlAPI::AspectRatioCGI(CyhookHandler *hh)
hh->printf("%s", NeutrinoAPI->Controld->getAspectRatio() == '\0' ? "4:3" : "16:9"); hh->printf("%s", NeutrinoAPI->Controld->getAspectRatio() == '\0' ? "4:3" : "16:9");
#endif #endif
} }
#endif
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void CControlAPI::VideoFormatCGI(CyhookHandler *hh) void CControlAPI::VideoFormatCGI(CyhookHandler *hh)
{ {
@@ -1559,7 +1565,7 @@ void CControlAPI::SendAllCurrentVAPid(CyhookHandler *hh)
hh->printf("%05u pmt\n",pids.PIDs.pmtpid); hh->printf("%05u pmt\n",pids.PIDs.pmtpid);
} }
#if 0
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void CControlAPI::SendSettings(CyhookHandler *hh) void CControlAPI::SendSettings(CyhookHandler *hh)
{ {
@@ -1576,7 +1582,7 @@ void CControlAPI::SendSettings(CyhookHandler *hh)
); );
#endif #endif
} }
#endif
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void CControlAPI::SendTimers(CyhookHandler *hh) void CControlAPI::SendTimers(CyhookHandler *hh)
{ {

View File

@@ -32,7 +32,9 @@ private:
void SendEventList(CyhookHandler *hh,t_channel_id channel_id); void SendEventList(CyhookHandler *hh,t_channel_id channel_id);
void SendcurrentVAPid(CyhookHandler *hh); void SendcurrentVAPid(CyhookHandler *hh);
void SendAllCurrentVAPid(CyhookHandler *hh); void SendAllCurrentVAPid(CyhookHandler *hh);
#if 0
void SendSettings(CyhookHandler *hh); void SendSettings(CyhookHandler *hh);
#endif
void SendStreamInfo(CyhookHandler *hh); void SendStreamInfo(CyhookHandler *hh);
void SendBouquets(CyhookHandler *hh); void SendBouquets(CyhookHandler *hh);
void SendBouquet(CyhookHandler *hh,int BouquetNr); void SendBouquet(CyhookHandler *hh,int BouquetNr);
@@ -60,7 +62,9 @@ private:
void RCCGI(CyhookHandler *hh); void RCCGI(CyhookHandler *hh);
void GetDateCGI(CyhookHandler *hh); void GetDateCGI(CyhookHandler *hh);
void GetTimeCGI(CyhookHandler *hh); void GetTimeCGI(CyhookHandler *hh);
#if 0
void SettingsCGI(CyhookHandler *hh); void SettingsCGI(CyhookHandler *hh);
#endif
void GetServicesxmlCGI(CyhookHandler *hh); void GetServicesxmlCGI(CyhookHandler *hh);
void GetBouquetsxmlCGI(CyhookHandler *hh); void GetBouquetsxmlCGI(CyhookHandler *hh);
void GetChannel_IDCGI(CyhookHandler *hh); void GetChannel_IDCGI(CyhookHandler *hh);
@@ -79,7 +83,9 @@ private:
void YWebCGI(CyhookHandler *hh); void YWebCGI(CyhookHandler *hh);
void RebootCGI(CyhookHandler *hh); void RebootCGI(CyhookHandler *hh);
void RCEmCGI(CyhookHandler *hh); void RCEmCGI(CyhookHandler *hh);
#if 0
void AspectRatioCGI(CyhookHandler *hh); void AspectRatioCGI(CyhookHandler *hh);
#endif
void VideoFormatCGI(CyhookHandler *hh); void VideoFormatCGI(CyhookHandler *hh);
void VideoOutputCGI(CyhookHandler *hh); void VideoOutputCGI(CyhookHandler *hh);
void VCROutputCGI(CyhookHandler *hh); void VCROutputCGI(CyhookHandler *hh);