diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-11-02 17:24:02 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-11-02 17:24:02 +0000 |
commit | 2ec80665eab5f861dc494d3df6f30a5ad6603309 (patch) | |
tree | 7d899476611324c88266c55444a5760b94bb1f3d /libs/ardour/ardour/region.h | |
parent | 95f1c2369ae46e79dbba7a03b283cb6d7f725aee (diff) |
clean up last commit by sharing coding via modify_{front,end}
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6000 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 57691574cc..92c4f6868c 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -229,6 +229,8 @@ class Region : public PBD::StatefulDestructible, public Readable, public boost:: void trim_to_internal (nframes_t position, nframes_t length, void *src); void set_position_internal (nframes_t pos, bool allow_bbt_recompute); + void modify_front (nframes_t new_position, bool reset_fade, void* src); + void modify_end (nframes_t new_position, bool reset_fade, void* src); bool copied() const { return _flags & Copied; } void maybe_uncopy (); |