summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_report.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-03-11 17:25:52 +0100
committerRobin Gareus <robin@gareus.org>2016-03-11 17:26:42 +0100
commit361309d83f3ef3f755af372e0ef3fe3ab0a254df (patch)
tree37bac39125d548d1dcd0a5e4305ab88518503612 /gtk2_ardour/export_report.h
parent43603a98935b00f5cbf4082e15da19d2ba4ee9b5 (diff)
allow to re-use export-report UI
(we should probably change the name to LoudnessReport)
Diffstat (limited to 'gtk2_ardour/export_report.h')
-rw-r--r--gtk2_ardour/export_report.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/export_report.h b/gtk2_ardour/export_report.h
index 019b2f71c3..65339be701 100644
--- a/gtk2_ardour/export_report.h
+++ b/gtk2_ardour/export_report.h
@@ -186,9 +186,11 @@ class ExportReport : public ArdourDialog
public:
typedef boost::shared_ptr<ARDOUR::ExportStatus> StatusPtr;
ExportReport (ARDOUR::Session*, StatusPtr);
+ ExportReport (const std::string & title, const ARDOUR::AnalysisResults & ar);
int run ();
private:
+ void init (const ARDOUR::AnalysisResults &, bool);
void draw_waveform (Cairo::RefPtr<Cairo::ImageSurface>& wave,
ARDOUR::ExportAnalysisPtr, uint32_t, int, size_t, int, int, bool, bool);
@@ -203,7 +205,6 @@ private:
void on_logscale_toggled (Gtk::ToggleButton*);
void on_rectivied_toggled (Gtk::ToggleButton*);
- StatusPtr status;
Gtk::Notebook pages;
ARDOUR::Session* _session;
Gtk::Button* stop_btn;