diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-09-16 21:40:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-09-16 21:40:12 -0400 |
commit | 2e81bab8995cc7a1d52737b43cda0e7c3b9b4557 (patch) | |
tree | 84742b0222ca9559f7c4e1b46b5a75102a019311 /libs/ardour/ardour/location.h | |
parent | 99ac4755afd314986c4dd5d8bf5f4792fdcb8c69 (diff) |
add new type of location, with _flags & IsSkip being non-zero
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index eb35a1e209..bf8e663417 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -51,7 +51,8 @@ class LIBARDOUR_API Location : public SessionHandleRef, public PBD::StatefulDest IsHidden = 0x8, IsCDMarker = 0x10, IsRangeMarker = 0x20, - IsSessionRange = 0x40 + IsSessionRange = 0x40, + IsSkip = 0x80, }; Location (Session &); @@ -92,6 +93,7 @@ class LIBARDOUR_API Location : public SessionHandleRef, public PBD::StatefulDest bool is_cd_marker () const { return _flags & IsCDMarker; } bool is_session_range () const { return _flags & IsSessionRange; } bool is_range_marker() const { return _flags & IsRangeMarker; } + bool is_skip() const { return _flags & IsSkip; } bool matches (Flags f) const { return _flags & f; } Flags flags () const { return _flags; } |