From 2e81bab8995cc7a1d52737b43cda0e7c3b9b4557 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Sep 2014 21:40:12 -0400 Subject: add new type of location, with _flags & IsSkip being non-zero --- libs/ardour/ardour/location.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/ardour/ardour/location.h') 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; } -- cgit v1.2.3