summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/region.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-03-12 22:00:09 +0100
committerRobin Gareus <robin@gareus.org>2013-03-13 20:28:15 +0100
commit0c3e840700a915fc1476cef73c591048f688f81e (patch)
tree3241845f899cfed86217db2f6f589740b2b9c04a /libs/ardour/ardour/region.h
parentd91565093965b3405774acd878b3baf38839f4e4 (diff)
videotimline
squashed 694 commits from http://gareus.org/gitweb/?p=ardour3.git
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r--libs/ardour/ardour/region.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h
index bc8e7383f2..eaa23cc8f6 100644
--- a/libs/ardour/ardour/region.h
+++ b/libs/ardour/ardour/region.h
@@ -45,6 +45,9 @@ namespace Properties {
extern PBD::PropertyDescriptor<bool> muted;
extern PBD::PropertyDescriptor<bool> opaque;
extern PBD::PropertyDescriptor<bool> locked;
+#ifdef WITH_VIDEOTIMELINE
+ extern PBD::PropertyDescriptor<bool> video_locked;
+#endif
extern PBD::PropertyDescriptor<bool> automatic;
extern PBD::PropertyDescriptor<bool> whole_file;
extern PBD::PropertyDescriptor<bool> import;
@@ -163,6 +166,9 @@ class Region
bool opaque () const { return _opaque; }
bool locked () const { return _locked; }
bool position_locked () const { return _position_locked; }
+#ifdef WITH_VIDEOTIMELINE
+ bool video_locked () const { return _video_locked; }
+#endif
bool valid_transients () const { return _valid_transients; }
bool automatic () const { return _automatic; }
bool whole_file () const { return _whole_file; }
@@ -240,6 +246,9 @@ class Region
void set_automatic (bool yn);
void set_opaque (bool yn);
void set_locked (bool yn);
+#ifdef WITH_VIDEOTIMELINE
+ void set_video_locked (bool yn);
+#endif
void set_position_locked (bool yn);
int apply (Filter &, Progress* progress = 0);
@@ -392,6 +401,9 @@ class Region
PBD::Property<bool> _muted;
PBD::Property<bool> _opaque;
PBD::Property<bool> _locked;
+#ifdef WITH_VIDEOTIMELINE
+ PBD::Property<bool> _video_locked;
+#endif
PBD::Property<bool> _automatic;
PBD::Property<bool> _whole_file;
PBD::Property<bool> _import;