diff options
Diffstat (limited to 'rotord/rotord.cpp')
| -rwxr-xr-x | rotord/rotord.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/rotord/rotord.cpp b/rotord/rotord.cpp index 734e159..a919a0b 100755 --- a/rotord/rotord.cpp +++ b/rotord/rotord.cpp @@ -124,43 +124,6 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS os<<request.stream().rdbuf(); body=os.str(); - - /* - if (segments.size() == 0) { - return new RotorRequestHandler(_format); - } - else if (segments[0]=="vamp"&&segments.size()>3) { - // vamp/plugin/filter/filename - // how do deal with error condition? - - //Settings(string _so="",string _filter="",string _id="",string _input=""); - return new AudioAnalyserHandler(vampHost::Settings(segments[1],segments[2],segments[3])); - //string audioData=runPlugin(string myname, string soname, string id, - // string output, int outputNo, string wavname, - // string outfilename, bool useFrames); - return 0; - } - else if (segments[0]=="new") { - // create a new render context - - return 0; - } - else { - return 0; - } - */ - - - //at this point we are within app - //making a new contexthandler? - //how will this have access to the thread that it refers to - //how will messages be passed - //we need to do testing etc here and - - //what does the handler do? - //it gets passed the response- gets to set response code - - if (command.size()) { if (command[0]=="new") { if (request.getMethod()=="GET") { |
