diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-09 17:58:13 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-09 17:58:13 +0000 |
commit | 402cc384ced6cb152c8abe4294009fe0de0a6dea (patch) | |
tree | f01db6b412cb8e2d3c69fa123fd615c229ee47d3 /gtk2_ardour/automation_line.h | |
parent | cc351b97a986fca48a6b3b631a292bf24efc5e41 (diff) |
Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index 1f3c72c4c7..136196cd72 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -29,7 +29,6 @@ #include <sigc++/signal.h> #include "canvas.h" #include "simplerect.h" -#include "shared_ptrs.h" #include "evoral/TimeConverter.hpp" @@ -56,7 +55,7 @@ namespace Gnome { class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoingAway { public: - AutomationLine (const std::string& name, TimeAxisViewPtr, ArdourCanvas::Group&, + AutomationLine (const std::string& name, TimeAxisView&, ArdourCanvas::Group&, boost::shared_ptr<ARDOUR::AutomationList>, const Evoral::TimeConverter<double, ARDOUR::sframes_t>* converter = 0); virtual ~AutomationLine (); @@ -98,7 +97,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin void set_uses_gain_mapping (bool yn); bool get_uses_gain_mapping () const { return _uses_gain_mapping; } - TimeAxisViewPtr trackview; + TimeAxisView& trackview; ArdourCanvas::Group& canvas_group() const { return *group; } ArdourCanvas::Item& parent_group() const { return _parent_group; } |