fix crash when copy'ing latent plugins
[ardour.git] / gtk2_ardour / session_import_dialog.h
index 01cbb6c0cccb4f4ce8e4e2fdec040a3bf7908d5a..b31751115f4ede5d4641a45248209a14739517fc 100644 (file)
 #include <gtkmm.h>
 
 #include "pbd/xml++.h"
-#include "ardour/element_importer.h"
-#include "ardour/element_import_handler.h"
 
 #include "ardour_dialog.h"
-
 namespace ARDOUR {
+       class ElementImportHandler;
+       class ElementImporter;
        class Session;
 }
 
@@ -93,6 +92,8 @@ class SessionImportDialog : public ArdourDialog
 
        Gtk::Button*                  ok_button;
        Gtk::Button*                  cancel_button;
+
+       PBD::ScopedConnectionList connections;
 };
 
 #endif