unused functions

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@345 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: b00fe11ec2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-15 (Mon, 15 Feb 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-02-15 11:03:18 +00:00
parent 1b887becfd
commit 1f168a83bc
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"},
{"getdate", &CControlAPI::GetDateCGI, "text/plain"},
{"gettime", &CControlAPI::GetTimeCGI, "text/plain"},
#if 0
{"settings", &CControlAPI::SettingsCGI, "text/plain"},
#endif
{"info", &CControlAPI::InfoCGI, "text/plain"},
{"version", &CControlAPI::VersionCGI, ""},
// boxcontrol - devices
@@ -160,7 +162,9 @@ const CControlAPI::TyCgiCall CControlAPI::yCgiCallList[]=
{"exec", &CControlAPI::ExecCGI, "+xml"},
{"yweb", &CControlAPI::YWebCGI, "text/plain"},
// video handling
#if 0
{"aspectratio", &CControlAPI::AspectRatioCGI, "text/plain"},
#endif
{"videoformat", &CControlAPI::VideoFormatCGI, "text/plain"},
{"videooutput", &CControlAPI::VideoOutputCGI, "text/plain"},
{"vcroutput", &CControlAPI::VCROutputCGI, "text/plain"},
@@ -511,14 +515,14 @@ void CControlAPI::GetTimeCGI(CyhookHandler *hh)
else
hh->SendError();
}
#if 0
//-----------------------------------------------------------------------------
// send settings
void CControlAPI::SettingsCGI(CyhookHandler *hh)
{
SendSettings(hh);
}
#endif
//-----------------------------------------------------------------------------
// send services.xml
void CControlAPI::GetServicesxmlCGI(CyhookHandler *hh)
@@ -582,8 +586,10 @@ void CControlAPI::InfoCGI(CyhookHandler *hh)
{
if (hh->ParamList["1"] == "streaminfo") // print streaminfo
SendStreamInfo(hh);
#if 0
else if (hh->ParamList["1"] == "settings") // print settings
SendSettings(hh);
#endif
else if (hh->ParamList["1"] == "version") // send version file
hh->SendFile("/.version");
else if (hh->ParamList["1"] == "httpdversion") // print httpd version typ (only ffor comptibility)
@@ -756,7 +762,7 @@ void CControlAPI::RCEmCGI(CyhookHandler *hh)
close(evd);
hh->SendOk();
}
#if 0
//-----------------------------------------------------------------------------
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");
#endif
}
#endif
//-----------------------------------------------------------------------------
void CControlAPI::VideoFormatCGI(CyhookHandler *hh)
{
@@ -1559,7 +1565,7 @@ void CControlAPI::SendAllCurrentVAPid(CyhookHandler *hh)
hh->printf("%05u pmt\n",pids.PIDs.pmtpid);
}
#if 0
//-----------------------------------------------------------------------------
void CControlAPI::SendSettings(CyhookHandler *hh)
{
@@ -1576,7 +1582,7 @@ void CControlAPI::SendSettings(CyhookHandler *hh)
);
#endif
}
#endif
//-----------------------------------------------------------------------------
void CControlAPI::SendTimers(CyhookHandler *hh)
{

View File

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