fix crash when copy'ing latent plugins
[ardour.git] / libs / ardour / ardour / tempo_map_importer.h
index 6351596f74f80fe2a1b3ac9d92ff1e0c5a473c82..28a65218c708185dad29673f5c78daf663a06235 100644 (file)
 
 #include "ardour/element_importer.h"
 #include "ardour/element_import_handler.h"
-#include "ardour/tempo.h"
-#include "ardour/types.h"
 
 namespace ARDOUR {
 
-class TempoMapImportHandler : public ElementImportHandler
+class Session;
+
+class LIBARDOUR_API TempoMapImportHandler : public ElementImportHandler
 {
   public:
        TempoMapImportHandler (XMLTree const & source, Session & session);
-       string get_info () const;
+       std::string get_info () const;
 };
 
-class TempoMapImporter : public ElementImporter
+class LIBARDOUR_API TempoMapImporter : public ElementImporter
 {
   private:
        typedef boost::shared_ptr<XMLNode> XMLNodePtr;
   public:
        TempoMapImporter (XMLTree const & source, Session & session, XMLNode const & node);
 
-       virtual string get_info () const;
+       virtual std::string get_info () const;
 
   protected:
        bool _prepare_move ();