#include "ardour/types.h"
#include "ardour/element_importer.h"
#include "ardour/element_import_handler.h"
+#include "ardour/import_status.h"
namespace ARDOUR {
// Inerface implementation
AudioRegionImportHandler (XMLTree const & source, Session & session);
std::string get_info () const;
-
+
void create_regions_from_children (XMLNode const & node, ElementList & list);
-
+
// Source management
bool check_source (std::string const & filename) const;
void add_source (std::string const & filename, boost::shared_ptr<Source> const & source);
// Interface implementation
std::string get_info () const;
- Session::ImportStatus * get_import_status () { return &status; }
-
+ ImportStatus * get_import_status () { return &status; }
+
// other stuff
void add_sources_to_session ();
XMLNode const & get_xml ();
PBD::ID old_id;
PBD::ID id;
std::list<std::string> filenames;
- Session::ImportStatus status;
-
+ ImportStatus status;
+
bool parse_xml_region ();
bool parse_source_xml ();
PBD::sys::path get_sound_dir (XMLTree const & tree);
-
+
void prepare_region ();
void prepare_sources ();
std::vector<boost::shared_ptr<Region> > region;