13
0

add Session::loading() to allow easy detection of "session is being loaded" condition

This commit is contained in:
Paul Davis 2016-04-13 17:41:39 -04:00
parent 4615e090b4
commit 4a30e1f4c8

View File

@ -211,6 +211,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
bool deletion_in_progress() const { return _state_of_the_state & Deletion; }
bool routes_deletion_in_progress() const { return _route_deletion_in_progress; }
bool peaks_cleanup_in_progres() const { return _state_of_the_state & PeakCleanup; }
bool loading () const { return _state_of_the_state & Loading; }
PBD::Signal0<void> DirtyChanged;