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_time_axis.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_time_axis.h')
-rw-r--r-- | gtk2_ardour/automation_time_axis.h | 49 |
1 files changed, 10 insertions, 39 deletions
diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index 7122350dee..b323d1d3bf 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -34,7 +34,6 @@ #include "time_axis_view.h" #include "simplerect.h" #include "automation_controller.h" -#include "shared_ptrs.h" namespace ARDOUR { class Session; @@ -55,18 +54,16 @@ class AutomationController; class AutomationTimeAxisView : public TimeAxisView { public: - - static AutomationTimeAxisViewPtr - create (ARDOUR::Session&, - boost::shared_ptr<ARDOUR::Route>, - boost::shared_ptr<ARDOUR::Automatable>, - boost::shared_ptr<ARDOUR::AutomationControl>, - PublicEditor&, - TimeAxisViewPtr parent, - bool show_regions, - ArdourCanvas::Canvas& canvas, - const std::string & name, /* translatable */ - const std::string & plug_name = ""); + AutomationTimeAxisView (ARDOUR::Session&, + boost::shared_ptr<ARDOUR::Route>, + boost::shared_ptr<ARDOUR::Automatable>, + boost::shared_ptr<ARDOUR::AutomationControl>, + PublicEditor&, + TimeAxisView& parent, + bool show_regions, + ArdourCanvas::Canvas& canvas, + const std::string & name, /* translatable */ + const std::string & plug_name = ""); ~AutomationTimeAxisView(); @@ -167,32 +164,6 @@ class AutomationTimeAxisView : public TimeAxisView { static Pango::FontDescription* name_font; static bool have_name_font; - -private: - - AutomationTimeAxisView (ARDOUR::Session&, - boost::shared_ptr<ARDOUR::Route>, - boost::shared_ptr<ARDOUR::Automatable>, - boost::shared_ptr<ARDOUR::AutomationControl>, - PublicEditor&, - TimeAxisViewPtr parent, - bool show_regions, - ArdourCanvas::Canvas& canvas, - const std::string & name, /* translatable */ - const std::string & plug_name = ""); - - void - init (ARDOUR::Session&, - boost::shared_ptr<ARDOUR::Route>, - boost::shared_ptr<ARDOUR::Automatable>, - boost::shared_ptr<ARDOUR::AutomationControl>, - PublicEditor&, - TimeAxisViewPtr parent, - bool show_regions, - ArdourCanvas::Canvas& canvas, - const std::string & name, /* translatable */ - const std::string & plug_name); - }; #endif /* __ardour_gtk_automation_time_axis_h__ */ |