rather hacky fix for the change of the SyncSource > JACK enum to SyncSource > Engine
[ardour.git] / libs / ardour / ardour / import_status.h
index d06a464716135494c2f0a08d1a9f4a81749711a4..c261b7a960ca52ffa4aa70765df649b2c08b8b28 100644 (file)
 
 #include <stdint.h>
 
+#include "ardour/interthread_info.h"
 #include "ardour/types.h"
 
 namespace ARDOUR {
 
-struct ImportStatus : public InterThreadInfo {
+class ImportStatus : public InterThreadInfo {
+public:
        std::string doing_what;
 
        /* control info */
@@ -40,6 +42,11 @@ struct ImportStatus : public InterThreadInfo {
        std::vector<std::string>   paths;
        bool                       replace_existing_source;
 
+       /** set to true when all files have been imported, as distinct from the done in ARDOUR::InterThreadInfo,
+        *  which indicates that one run of the import thread has been completed.
+        */
+       bool all_done;
+
        /* result */
        SourceList sources;
 };