projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another not-quite-there-but-better commit.
[ardour.git]
/
gtk2_ardour
/
time_axis_view.h
diff --git
a/gtk2_ardour/time_axis_view.h
b/gtk2_ardour/time_axis_view.h
index c4f86dee5dda893bb2a863634f48f25ab4536929..722350594a1c7a46f48dd540e289c87d7fd7da33 100644
(file)
--- a/
gtk2_ardour/time_axis_view.h
+++ b/
gtk2_ardour/time_axis_view.h
@@
-209,6
+209,8
@@
class TimeAxisView : public virtual AxisView
/* call this on the parent */
virtual XMLNode* get_child_xml_node (const string & childname) { return 0; }
/* call this on the parent */
virtual XMLNode* get_child_xml_node (const string & childname) { return 0; }
+
+ typedef std::vector<boost::shared_ptr<TimeAxisView> > Children;
protected:
protected:
@@
-279,11
+281,11
@@
class TimeAxisView : public virtual AxisView
/** Find the parent with state */
TimeAxisView* get_parent_with_state();
/** Find the parent with state */
TimeAxisView* get_parent_with_state();
-
std::vector<TimeAxisView*>
children;
+
Children
children;
bool is_child (TimeAxisView*);
bool is_child (TimeAxisView*);
- void remove_child (
TimeAxisView*
);
- void add_child (
TimeAxisView*
);
+ void remove_child (
boost::shared_ptr<TimeAxisView>
);
+ void add_child (
boost::shared_ptr<TimeAxisView>
);
/* selection display */
/* selection display */