X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fimport_status.h;h=4dbf8f8456505056050ee7f287a27c58336b94d5;hb=6584a89c4eb5024fe89a15acd8e4fa4697e606be;hp=25a14f3fae9b9980404b011567931cf98010dea0;hpb=c83e48e07a0b4790512c6251d8ad8f941c881021;p=ardour.git diff --git a/libs/ardour/ardour/import_status.h b/libs/ardour/ardour/import_status.h index 25a14f3fae..4dbf8f8456 100644 --- a/libs/ardour/ardour/import_status.h +++ b/libs/ardour/ardour/import_status.h @@ -24,22 +24,30 @@ #include #include -#include +#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 paths; + std::vector 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; };