summaryrefslogtreecommitdiff
path: root/rotord/src/graph.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-16 14:38:14 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-16 14:38:14 +0000
commite1d54b6b3a95b37e2e8e807387a725fe5d202c2c (patch)
tree77a61e8d0e0b509f6f3eac764132e033a33bc2e1 /rotord/src/graph.h
parentdd350193352573ac54c97c4b7c6256319cbe62f4 (diff)
context logging
Diffstat (limited to 'rotord/src/graph.h')
-rw-r--r--rotord/src/graph.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/rotord/src/graph.h b/rotord/src/graph.h
index 153bc5a..dc24c84 100644
--- a/rotord/src/graph.h
+++ b/rotord/src/graph.h
@@ -25,7 +25,7 @@ copy nodes `
namespace Rotor {
class Graph{
public:
- Graph(){duration=20.0;loaded = false;audio_loaded=false;bitRate=0;outW=640;outH=360;audio_thumb=new Audio_thumbnailer();use_fragmentation=false;analysis_seed=0;};
+ Graph(){duration=20.0;loaded = false;audio_loaded=false;bitRate=0;outW=640;outH=360;audio_thumb=new Audio_thumbnailer();use_fragmentation=false;analysis_seed=0;Log_name="";};
Graph(const string& _uid,const string& _desc){
Graph();
init(_uid,_desc);
@@ -84,6 +84,9 @@ namespace Rotor {
bool cancelled;
double progress;
int bitRate;
+ void set_log_name(string _Log_name){
+ Log_name=_Log_name;
+ }
//Poco::Mutex mutex; //lock for access from parent thread
@@ -92,6 +95,7 @@ namespace Rotor {
int outW,outH;
bool use_fragmentation;
int analysis_seed;
+ string Log_name;
};
class Thumbnailer{