#ifndef __export_dialog_h__
#define __export_dialog_h__
-#include <boost/shared_ptr.hpp>
+#include <boost/scoped_ptr.hpp>
-#include "ardour/export_handler.h"
#include "ardour/export_profile_manager.h"
#include "public_editor.h"
#include <gtkmm.h>
-#include "i18n.h"
-
namespace ARDOUR {
class ExportStatus;
+ class ExportHandler;
}
class ExportTimespanSelector;
public:
- explicit ExportDialog (PublicEditor & editor, Glib::ustring title = _("Export"));
+ explicit ExportDialog (PublicEditor & editor, Glib::ustring title);
~ExportDialog ();
void set_session (ARDOUR::Session* s);
// Must initialize all the shared_ptrs below
virtual void init_components ();
- boost::shared_ptr<ExportPresetSelector> preset_selector;
- boost::shared_ptr<ExportTimespanSelector> timespan_selector;
- boost::shared_ptr<ExportChannelSelector> channel_selector;
- boost::shared_ptr<ExportFileNotebook> file_notebook;
+ boost::scoped_ptr<ExportPresetSelector> preset_selector;
+ boost::scoped_ptr<ExportTimespanSelector> timespan_selector;
+ boost::scoped_ptr<ExportChannelSelector> channel_selector;
+ boost::scoped_ptr<ExportFileNotebook> file_notebook;
Gtk::VBox warning_widget;
Gtk::VBox progress_widget;
PublicEditor & editor;
StatusPtr status;
+ PBD::ScopedConnection abort_connection;
/*** GUI components ***/