summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-05-17 16:45:22 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-05-17 16:45:22 +0000
commitbe830adccba524b4a22587340c6fe2bb31be5cd8 (patch)
tree7f53a0b398031cb2bc4fd4510313fd703ed2572f /libs/ardour/ardour
parent71596b002e8be6ca99d5eb1e749a893c45804453 (diff)
not actually working attempt to copy relevant xfades into compound regions; fix compilation issues with an earlier commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9544 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/audioplaylist.h1
-rw-r--r--libs/ardour/ardour/playlist.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/audioplaylist.h b/libs/ardour/ardour/audioplaylist.h
index 6c3169070f..b9ed739a79 100644
--- a/libs/ardour/ardour/audioplaylist.h
+++ b/libs/ardour/ardour/audioplaylist.h
@@ -104,6 +104,7 @@ public:
void refresh_dependents (boost::shared_ptr<Region> region);
void check_dependents (boost::shared_ptr<Region> region, bool norefresh);
void remove_dependents (boost::shared_ptr<Region> region);
+ void copy_dependents (const std::vector<TwoRegions>&, boost::shared_ptr<Playlist>);
private:
CrossfadeListProperty _crossfades;
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h
index 7411468fe8..6385def785 100644
--- a/libs/ardour/ardour/playlist.h
+++ b/libs/ardour/ardour/playlist.h
@@ -379,6 +379,9 @@ public:
void _split_region (boost::shared_ptr<Region>, framepos_t position);
void load_nested_sources (const XMLNode& node);
+
+ typedef std::pair<boost::shared_ptr<Region>, boost::shared_ptr<Region> > TwoRegions;
+ virtual void copy_dependents (const std::vector<TwoRegions>&, boost::shared_ptr<Playlist>) { }
};
} /* namespace ARDOUR */