From 1af93fbfe4c8cfa214331d2d96327637ffe749bf Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 16 Aug 2013 00:56:32 +0100 Subject: adding render log --- rotord/src/rendercontext.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'rotord/src/rendercontext.h') diff --git a/rotord/src/rendercontext.h b/rotord/src/rendercontext.h index 738ce38..26b39fa 100644 --- a/rotord/src/rendercontext.h +++ b/rotord/src/rendercontext.h @@ -8,6 +8,13 @@ #include "rotor.h" namespace Rotor { + class Session_command { + public: + Session_command(){body="";}; + + string uid,method,id,body; + vector commands; + }; class Render_context: public Poco::Task { //Poco task object //manages a 'patchbay' //high level interfaces for the wizard @@ -31,8 +38,7 @@ namespace Rotor { ~Render_context(){delete audio_thumb;}; void runTask(); void add_queue(int item); - Command_response session_command(const std::vector& command); - void session_command(const std::vector& command,xmlIO& XML,Poco::Net::HTTPResponse::HTTPStatus& status); + void session_command(const Session_command& command,xmlIO& XML,Poco::Net::HTTPResponse::HTTPStatus& status); void cancel(); //interrupt locking process int make_preview(int nodeID, float time); //starts a frame preview - returns status code - how to retrieve? bool load_audio(const string &filename,vector processors); -- cgit v1.2.3