diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-13 17:41:39 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:40 -0400 |
commit | 4a30e1f4c81b63308eb2377a2723a98334fdb74e (patch) | |
tree | 19d3286e3cd506ce0e37ca3386bd2429e72601cc /libs/ardour/ardour/session.h | |
parent | 4615e090b412d6217494aba41feae1559648135d (diff) |
add Session::loading() to allow easy detection of "session is being loaded" condition
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 786751dea5..6f2c0f1fa9 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -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; |