summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/region.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-21 17:03:16 +0000
committerDavid Robillard <d@drobilla.net>2010-12-21 17:03:16 +0000
commitda89cd0c9b545c418fe2d6692844ff05779bb258 (patch)
tree6471696f49b6fedb07159bbf6e1389c0e48d0011 /libs/ardour/ardour/region.h
parent71986da212b641b53c4583d0dca02cc87c758291 (diff)
Remove confuzzling offset_relative stuff from region construction (pre-properties "hangover").
This commit (in theory) only reorganizes code, not change actual functionality. RegionFactory now uses a distinct Region constructor for each case, which is a bit easier to wrap around. Note comment at region.cc:276, this case seems pretty weird to me (more hangover?). git-svn-id: svn://localhost/ardour2/branches/3.0@8320 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r--libs/ardour/ardour/region.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h
index 63ac879eeb..3bb5d0aac8 100644
--- a/libs/ardour/ardour/region.h
+++ b/libs/ardour/ardour/region.h
@@ -307,8 +307,12 @@ class Region
/** Construct a region from multiple sources*/
Region (const SourceList& srcs);
+ /** Construct a region from another region */
+ Region (boost::shared_ptr<const Region>);
+
/** Construct a region from another region, at an offset within that region */
- Region (boost::shared_ptr<const Region>, frameoffset_t start_offset = 0, bool start_relative = true);
+ Region (boost::shared_ptr<const Region>, frameoffset_t start_offset);
+
/** Construct a region as a copy of another region, but with different sources */
Region (boost::shared_ptr<const Region>, const SourceList&);