summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-08-16 00:56:32 +0100
committerComment <tim@gray.(none)>2013-08-16 00:56:32 +0100
commit1af93fbfe4c8cfa214331d2d96327637ffe749bf (patch)
treef452a61b83e16993c5b4702f3a46c85d7d0829b6 /rotord/src/rendercontext.h
parentf91c866884819bee50b39b7b370209ef6b94ec53 (diff)
adding render log
Diffstat (limited to 'rotord/src/rendercontext.h')
-rw-r--r--rotord/src/rendercontext.h10
1 files changed, 8 insertions, 2 deletions
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<string> 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<std::string>& command);
- void session_command(const std::vector<std::string>& 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<Audio_processor*> processors);