From: Paul Davis Date: Wed, 13 Apr 2016 21:41:39 +0000 (-0400) Subject: add Session::loading() to allow easy detection of "session is being loaded" condition X-Git-Tag: 5.0-pre0~189 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=4a30e1f4c81b63308eb2377a2723a98334fdb74e;p=ardour.git add Session::loading() to allow easy detection of "session is being loaded" condition --- 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;