diff options
author | Carl Hetherington <carl@carlh.net> | 2009-05-12 17:03:42 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-05-12 17:03:42 +0000 |
commit | 3b89d9eaa03406a5e03648f47734211f09b89d62 (patch) | |
tree | 1c8d151bca327d4a5cb7047c8591aa814b9b4ec8 /gtk2_ardour/automation_time_axis.h | |
parent | 2e5c935990d6ea5cc6e9a5a6de0fd8c52e68657c (diff) |
Remove most using declarations from header files.
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.h')
-rw-r--r-- | gtk2_ardour/automation_time_axis.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index 6df4536ca6..b323d1d3bf 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -20,7 +20,6 @@ #ifndef __ardour_gtk_automation_time_axis_h__ #define __ardour_gtk_automation_time_axis_h__ -#include <vector> #include <list> #include <string> #include <utility> @@ -36,10 +35,6 @@ #include "simplerect.h" #include "automation_controller.h" -using std::vector; -using std::list; -using std::string; - namespace ARDOUR { class Session; class Route; @@ -67,8 +62,8 @@ class AutomationTimeAxisView : public TimeAxisView { TimeAxisView& parent, bool show_regions, ArdourCanvas::Canvas& canvas, - const string & name, /* translatable */ - const string & plug_name = ""); + const std::string & name, /* translatable */ + const std::string & plug_name = ""); ~AutomationTimeAxisView(); @@ -82,8 +77,8 @@ class AutomationTimeAxisView : public TimeAxisView { boost::shared_ptr<AutomationLine> line() { return _line; } void set_selected_points (PointSelection&); - void get_selectables (nframes_t start, nframes_t end, double top, double bot, list<Selectable *>&); - void get_inverted_selectables (Selection&, list<Selectable*>& results); + void get_selectables (nframes_t start, nframes_t end, double top, double bot, std::list<Selectable *>&); + void get_inverted_selectables (Selection&, std::list<Selectable*>& results); void show_timestretch (nframes_t start, nframes_t end) {} void hide_timestretch () {} @@ -100,7 +95,7 @@ class AutomationTimeAxisView : public TimeAxisView { guint32 show_at (double y, int& nth, Gtk::VBox *parent); void hide (); - static const string state_node_name; + static const std::string state_node_name; XMLNode* get_state_node(); boost::shared_ptr<ARDOUR::AutomationControl> control() { return _control; } @@ -117,7 +112,7 @@ class AutomationTimeAxisView : public TimeAxisView { boost::shared_ptr<AutomationLine> _line; AutomationStreamView* _view; - string _name; + std::string _name; bool ignore_toggle; bool first_call_to_set_height; |