From 74c69114bc99fceff7e59c51d5bbd7b18949e8dd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Sep 2010 22:59:39 +0000 Subject: Fix confusion about the 'done' variable in InterThreadInfo during import. 'done' now means that a given run of the import thread has completed; 'all_done' means that the whole import operation has completed. Fixes #3396. git-svn-id: svn://localhost/ardour2/branches/3.0@7862 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/import_status.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/ardour/ardour/import_status.h') diff --git a/libs/ardour/ardour/import_status.h b/libs/ardour/ardour/import_status.h index d06a464716..9beb70f2f0 100644 --- a/libs/ardour/ardour/import_status.h +++ b/libs/ardour/ardour/import_status.h @@ -40,6 +40,11 @@ struct ImportStatus : public InterThreadInfo { 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; }; -- cgit v1.2.3