diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-17 23:18:22 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-17 23:18:22 +0100 |
commit | b48d87b3ea2e3e4d7e62fd7880f15dbce28c49ea (patch) | |
tree | ed391ecb4a694711298d21133dd52d9dff013a0a /libs/pbd/pbd/stateful.h | |
parent | 91f5cd008c1538cd3afd08215e2e044c4d2f5441 (diff) |
add API to query stateful ID override mode
Diffstat (limited to 'libs/pbd/pbd/stateful.h')
-rw-r--r-- | libs/pbd/pbd/stateful.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<bool> regenerate_xml_or_string_ids; + static Glib::Threads::Private<bool> _regenerate_xml_or_string_ids; PBD::ID _id; gint _stateful_frozen; |