From b48d87b3ea2e3e4d7e62fd7880f15dbce28c49ea Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 17 Dec 2015 23:18:22 +0100 Subject: add API to query stateful ID override mode --- libs/pbd/pbd/stateful.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/pbd/pbd/stateful.h') diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h index 0207cfcf0c..fe2df93147 100644 --- a/libs/pbd/pbd/stateful.h +++ b/libs/pbd/pbd/stateful.h @@ -131,9 +131,11 @@ class LIBPBD_API Stateful { */ virtual void mid_thaw (const PropertyChange&) { } + bool regenerate_xml_or_string_ids () const; + private: friend struct ForceIDRegeneration; - static Glib::Threads::Private regenerate_xml_or_string_ids; + static Glib::Threads::Private _regenerate_xml_or_string_ids; PBD::ID _id; gint _stateful_frozen; -- cgit v1.2.3