From 4a30e1f4c81b63308eb2377a2723a98334fdb74e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 13 Apr 2016 17:41:39 -0400 Subject: add Session::loading() to allow easy detection of "session is being loaded" condition --- libs/ardour/ardour/session.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/session.h') 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 DirtyChanged; -- cgit v1.2.3