summaryrefslogtreecommitdiff
path: root/interfaces02.h
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces02.h')
-rw-r--r--interfaces02.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/interfaces02.h b/interfaces02.h
index 85f2543..9960828 100644
--- a/interfaces02.h
+++ b/interfaces02.h
@@ -53,16 +53,30 @@ maybe we should look at time in int (frames) - - what does this imply
#define ROTOR_RENDERING 3
namespace Rotor {
+ class Render_status{
+ public:
+ int id;
+ float progress;
+ }
+ class Render_requirements{
+ public:
+ int num_performances;
+ int num_clips;
+ }
class Render_context{ //Poco thread object
//manages access to the 'patchbay'
//high level interfaces for the wizard
//and low level interface onto the graph
public:
- int get_status();
- float get_progress():
+ Render_status get_status();
void cancel(); //interrupt locking process
- int make_preview(int nodeID, float time); //starts a frame preview - how to retrieve?
+ int make_preview(int nodeID, float time); //starts a frame preview - returns status code - how to retrieve?
int load_graph(Poco::UUID uid);
+ Poco::UUID save_graph(); //returns UUID of saved graph
+ int load_audio(string filename);
+ Render_requirements get_requirements();
+ int load_video(int num,string filename); //can be performance or clip
+
private:
int status;
float progress; //for a locking process: audio analysis or rendering