summaryrefslogtreecommitdiff
path: root/rotord/rotord.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/rotord.h')
-rwxr-xr-x[-rw-r--r--]rotord/rotord.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/rotord/rotord.h b/rotord/rotord.h
index bbc566f..dc5a831 100644..100755
--- a/rotord/rotord.h
+++ b/rotord/rotord.h
@@ -63,19 +63,19 @@ class AudioAnalyserHandler: public HTTPRequestHandler
class RenderContextHandler: public HTTPRequestHandler
{
public:
- RenderContextHandler(const Rotor::Command& command);
+ RenderContextHandler(const std::vector <std::string> _command);
void handleRequest(HTTPServerRequest& request,HTTPServerResponse& response);
private:
- //stateless
+ std::vector <std::string> command;
};
class RotorRequestHandlerFactory: public HTTPRequestHandlerFactory
{
public:
- RotorRequestHandlerFactory(const std::string& format);
HTTPRequestHandler* createRequestHandler(const HTTPServerRequest& request);
private:
- std::string _format;
+ std::unordered_map<std::string,Rotor::Render_context*> context;
+ Poco::UUIDGenerator idGen;
};
class RotorServer: public Poco::Util::ServerApplication
@@ -91,7 +91,7 @@ class RotorServer: public Poco::Util::ServerApplication
int main(const std::vector<std::string>& args);
private:
bool _helpRequested;
- std::unordered_map<Poco::UUID,Rotor::Render_context> render_contexts;
+
};
int main(int argc, char** argv)