Use ARDOUR namespace for SystemExec

Explicitly use ARDOUR::SystemExec, and #include the right header for it
too.
This commit is contained in:
Colin Fletcher 2014-05-18 22:33:25 +01:00
parent 7c4259133d
commit ba08ae9641

View File

@ -33,9 +33,9 @@
#include "ardour/export_format_specification.h"
#include "ardour/export_filename.h"
#include "ardour/soundcloud_upload.h"
#include "ardour/system_exec.h"
#include "pbd/openuri.h"
#include "pbd/basename.h"
#include "pbd/system_exec.h"
#include "ardour/session_metadata.h"
#include "i18n.h"
@ -329,7 +329,7 @@ ExportHandler::finish_timespan ()
std::cerr << "running command: " << fmt->command() << "..." << std::endl;
SystemExec *se = new SystemExec(fmt->command(), subs);
ARDOUR::SystemExec *se = new ARDOUR::SystemExec(fmt->command(), subs);
se->ReadStdout.connect_same_thread(command_connection, boost::bind(&ExportHandler::command_output, this, _1, _2));
if (se->start (2) == 0) {
// successfully started