change name of a Session method to makes its intended function clear
[ardour.git] / libs / ardour / ardour / import_status.h
index e6207c6ee82ab8b26f0faf6603713c3093088334..4dbf8f8456505056050ee7f287a27c58336b94d5 100644 (file)
 
 #include <stdint.h>
 
+#include "ardour/interthread_info.h"
+#include "ardour/libardour_visibility.h"
 #include "ardour/types.h"
 
 namespace ARDOUR {
 
-struct ImportStatus : public InterThreadInfo {
+class LIBARDOUR_API ImportStatus : public InterThreadInfo {
+public:
        std::string doing_what;
 
        /* control info */
+       uint32_t                   current;
        uint32_t                   total;
        SrcQuality                 quality;
        volatile bool              freeze;
-       std::vector<Glib::ustring> paths;
+       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;
 };