mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
add Session::loading() to allow easy detection of "session is being loaded" condition
This commit is contained in:
parent
4615e090b4
commit
4a30e1f4c8
1 changed files with 1 additions and 0 deletions
|
|
@ -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 deletion_in_progress() const { return _state_of_the_state & Deletion; }
|
||||||
bool routes_deletion_in_progress() const { return _route_deletion_in_progress; }
|
bool routes_deletion_in_progress() const { return _route_deletion_in_progress; }
|
||||||
bool peaks_cleanup_in_progres() const { return _state_of_the_state & PeakCleanup; }
|
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;
|
PBD::Signal0<void> DirtyChanged;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue