#ifndef __ardour_location_importer_h__
#define __ardour_location_importer_h__
-#include <ardour/element_importer.h>
-#include <ardour/element_import_handler.h>
+#include "ardour/element_importer.h"
+#include "ardour/element_import_handler.h"
#include <boost/shared_ptr.hpp>
-#include <pbd/xml++.h>
-#include <ardour/location.h>
-#include <ardour/types.h>
+#include "pbd/xml++.h"
namespace ARDOUR {
-class LocationImportHandler : public ElementImportHandler
+class Location;
+class Session;
+
+class LIBARDOUR_API LocationImportHandler : public ElementImportHandler
{
public:
LocationImportHandler (XMLTree const & source, Session & session);
- string get_info () const;
+ std::string get_info () const;
};
-class LocationImporter : public ElementImporter
+class LIBARDOUR_API LocationImporter : public ElementImporter
{
public:
LocationImporter (XMLTree const & source, Session & session, LocationImportHandler & handler, XMLNode const & node);
~LocationImporter ();
- string get_info () const;
- bool prepare_move ();
- void cancel_move ();
- void move ();
+ std::string get_info () const;
+
+ protected:
+ bool _prepare_move ();
+ void _cancel_move ();
+ void _move ();
private:
LocationImportHandler & handler;
XMLNode xml_location;
Location * location;
-
+
void parse_xml ();
};