diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-18 10:26:30 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-02 16:32:18 -0600 |
commit | a08012214fea09567b78086b5ca076c3369dcb16 (patch) | |
tree | 29c74e3ac04e9af4873a8270a8e4b3b8876a76ad /libs/ardour/ardour/region.h | |
parent | f21dd03a0fb9095779510e43f2f7ca6bec6e1183 (diff) |
add a new "contents" pseudo-property to Region
The type of this property doesn't matter - it only exists so that we can
signal a change to the (MIDI) contents of a Region via PropertyChanged
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r-- | libs/ardour/ardour/region.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h index a408f5429a..a695d9e5ed 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -72,6 +72,7 @@ namespace Properties { LIBARDOUR_API extern PBD::PropertyDescriptor<PositionLockStyle> position_lock_style; LIBARDOUR_API extern PBD::PropertyDescriptor<uint64_t> layering_index; LIBARDOUR_API extern PBD::PropertyDescriptor<std::string> tags; + LIBARDOUR_API extern PBD::PropertyDescriptor<bool> contents; // type doesn't matter here }; class Playlist; @@ -468,6 +469,7 @@ private: PBD::EnumProperty<PositionLockStyle> _position_lock_style; PBD::Property<uint64_t> _layering_index; PBD::Property<std::string> _tags; + PBD::Property<bool> _contents; // type is irrelevant samplecnt_t _last_length; samplepos_t _last_position; |