From e80b647faa5a61c81964252a395fe4cb48443315 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 28 Jan 2014 17:10:22 +0000 Subject: reinstating session command array --- NT/src/rotord.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'NT/src/rotord.cpp') diff --git a/NT/src/rotord.cpp b/NT/src/rotord.cpp index d1c1e66..983bbe7 100644 --- a/NT/src/rotord.cpp +++ b/NT/src/rotord.cpp @@ -41,10 +41,6 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS xmlIO XML; //xml object handles the servers responses XML.addTag("rotor"); - //can we create a tinyxml object here and pass a pointer to it to the render context? - //can tinyxml output to a string? is there any reason to use poco instead? - - if (command.size()) { /* if (command[0]=="thumbnail") { @@ -250,7 +246,7 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS if(task->name()==command[0]) { //valid session command - /* + found=true; XML.addAttribute("rotor","context",task->name(),0); XML.pushTag("rotor"); @@ -291,7 +287,7 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS renders[SC.uid]=command[0]; } } - */ + } } if (!found) { -- cgit v1.2.3