summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.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/editor_routes.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/editor_routes.h')
-rw-r--r--gtk2_ardour/editor_routes.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_routes.h b/gtk2_ardour/editor_routes.h
index a075902dee..f1602c40c0 100644
--- a/gtk2_ardour/editor_routes.h
+++ b/gtk2_ardour/editor_routes.h
@@ -29,7 +29,7 @@ public:
}
void move_selected_tracks (bool);
- void show_track_in_display (TimeAxisView &);
+ void show_track_in_display (TimeAxisViewPtr);
void suspend_redisplay () {
_no_redisplay = true;
}
@@ -39,9 +39,9 @@ public:
}
void redisplay ();
void update_visibility ();
- void routes_added (std::list<RouteTimeAxisView*> routes);
- void hide_track_in_display (TimeAxisView &);
- std::list<TimeAxisView*> views () const;
+ void routes_added (std::list<RouteTimeAxisViewPtr> routes);
+ void hide_track_in_display (TimeAxisViewPtr);
+ std::list<TimeAxisViewPtr> views () const;
void hide_all_tracks (bool);
void clear ();
void sync_order_keys (std::string const &);
@@ -57,7 +57,7 @@ private:
void reordered (Gtk::TreeModel::Path const &, Gtk::TreeModel::iterator const &, int *);
bool button_press (GdkEventButton *);
void route_name_changed (boost::weak_ptr<ARDOUR::Route>);
- void route_removed (TimeAxisView *);
+ void route_removed (TimeAxisViewPtr);
void handle_gui_changes (std::string const &, void *);
void update_rec_display ();
void set_all_tracks_visibility (bool);
@@ -87,7 +87,7 @@ private:
Gtk::TreeModelColumn<bool> visible;
Gtk::TreeModelColumn<bool> rec_enabled;
Gtk::TreeModelColumn<bool> is_track;
- Gtk::TreeModelColumn<TimeAxisView*> tv;
+ Gtk::TreeModelColumn<TimeAxisViewPtr> tv;
Gtk::TreeModelColumn<boost::shared_ptr<ARDOUR::Route> > route;
};