summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.h
diff options
context:
space:
mode:
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);