diff options
author | Carl Hetherington <carl@carlh.net> | 2010-09-29 22:59:39 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-09-29 22:59:39 +0000 |
commit | 74c69114bc99fceff7e59c51d5bbd7b18949e8dd (patch) | |
tree | df8c5e3660b3fd8021cd68c0a8f9fa24fc300cce /libs/ardour/ardour | |
parent | ee541234704d354f7283d521fbb2afb923074441 (diff) |
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
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/import_status.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<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; }; |