summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-09 13:39:45 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-09 13:39:45 +0000
commit4297071b3f7360b17d81ef9cf36b8d75d46d2818 (patch)
tree13cbb169cfcf79a2e845d8860f0f98e192f3a8d3 /gtk2_ardour/region_view.h
parent0f8031da06e131595b3625169f9687c1a1ab2f3a (diff)
Use shared_ptr for the TimeAxisView hierarchy.
git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.h')
-rw-r--r--gtk2_ardour/region_view.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h
index 98329ee77b..df62cf9b6e 100644
--- a/gtk2_ardour/region_view.h
+++ b/gtk2_ardour/region_view.h
@@ -42,7 +42,7 @@ class RegionView : public TimeAxisViewItem
{
public:
RegionView (ArdourCanvas::Group* parent,
- TimeAxisView& time_view,
+ TimeAxisViewPtr time_view,
boost::shared_ptr<ARDOUR::Region> region,
double samples_per_unit,
Gdk::Color const & basic_color);
@@ -77,8 +77,8 @@ class RegionView : public TimeAxisViewItem
virtual void region_changed (ARDOUR::Change);
- virtual GhostRegion* add_ghost (TimeAxisView&) = 0;
- void remove_ghost_in (TimeAxisView&);
+ virtual GhostRegion* add_ghost (TimeAxisViewPtr) = 0;
+ void remove_ghost_in (TimeAxisViewPtr);
void remove_ghost (GhostRegion*);
uint32_t get_fill_color ();
@@ -97,7 +97,7 @@ class RegionView : public TimeAxisViewItem
* to the TimeAxisViewItem parent class
*/
RegionView (ArdourCanvas::Group *,
- TimeAxisView&,
+ TimeAxisViewPtr,
boost::shared_ptr<ARDOUR::Region>,
double samples_per_unit,
Gdk::Color const & basic_color,