#include <boost/shared_ptr.hpp>
#include "ardour/types.h"
+#include "ardour/session_handle.h"
#include "ardour/export_profile_manager.h"
namespace ARDOUR {
class Location;
class ExportTimespan;
class ExportHandler;
- class Session;
}
using ARDOUR::CDMarkerFormat;
/// Timespan Selector base
-class ExportTimespanSelector : public Gtk::VBox {
+class ExportTimespanSelector : public Gtk::VBox, public ARDOUR::SessionHandlePtr
+{
protected:
typedef std::list<ARDOUR::Location *> LocationList;
typedef boost::shared_ptr<ARDOUR::ExportHandler> HandlerPtr;
protected:
- ARDOUR::Session * session;
ProfileManagerPtr manager;
TimespanStatePtr state;
Glib::ustring construct_label (ARDOUR::Location const * location) const;
Glib::ustring bbt_str (nframes_t frames) const;
- Glib::ustring smpte_str (nframes_t frames) const;
+ Glib::ustring timecode_str (nframes_t frames) const;
Glib::ustring ms_str (nframes_t frames) const;
void update_range_name (Glib::ustring const & path, Glib::ustring const & new_text);