Fix uninitialized variable
[ardour.git] / gtk2_ardour / editor.h
index 1f66a69c7868c9447a55e5ca3237275b386c775e..8606135f52ac65adad65c3bc3f6e04f317011c53 100644 (file)
@@ -61,6 +61,8 @@
 #include "selection_memento.h"
 #include "tempo_curve.h"
 
+#include "ptformat/ptfformat.h"
+
 namespace Gtkmm2ext {
        class Bindings;
 }
@@ -1346,18 +1348,6 @@ private:
 
        void insert_region_list_selection (float times);
 
-       /* PT import */
-       void external_pt_dialog ();
-       typedef struct ptflookup {
-               uint16_t index1;
-               uint16_t index2;
-               PBD::ID  id;
-
-               bool operator ==(const struct ptflookup& other) {
-                       return (this->index1 == other.index1);
-               }
-       } ptflookup_t;
-
        /* import & embed */
 
        void add_external_audio_action (Editing::ImportMode);
@@ -1427,6 +1417,13 @@ private:
        void external_audio_dialog ();
        void session_import_dialog ();
 
+       /* PT import specific */
+       void external_pt_dialog ();
+       ARDOUR::ImportStatus import_pt_status;
+       static void *_import_pt_thread (void *);
+       void* import_pt_thread ();
+       PTFFormat import_ptf;
+
        /* import specific info */
 
        struct EditorImportStatus : public ARDOUR::ImportStatus {