summaryrefslogtreecommitdiff
path: root/gtk2_ardour/shared_ptrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/shared_ptrs.h')
-rw-r--r--gtk2_ardour/shared_ptrs.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gtk2_ardour/shared_ptrs.h b/gtk2_ardour/shared_ptrs.h
new file mode 100644
index 0000000000..a11f1e51b5
--- /dev/null
+++ b/gtk2_ardour/shared_ptrs.h
@@ -0,0 +1,25 @@
+#include <boost/shared_ptr.hpp>
+
+class TimeAxisView;
+
+typedef boost::shared_ptr<TimeAxisView> TimeAxisViewPtr;
+typedef boost::shared_ptr<const TimeAxisView> TimeAxisViewConstPtr;
+
+class RouteTimeAxisView;
+
+typedef boost::shared_ptr<RouteTimeAxisView> RouteTimeAxisViewPtr;
+typedef boost::shared_ptr<const RouteTimeAxisView> RouteTimeAxisViewConstPtr;
+
+class AutomationTimeAxisView;
+
+typedef boost::shared_ptr<AutomationTimeAxisView> AutomationTimeAxisViewPtr;
+typedef boost::shared_ptr<const AutomationTimeAxisView> AutomationTimeAxisViewConstPtr;
+
+class AudioTimeAxisView;
+
+typedef boost::shared_ptr<AudioTimeAxisView> AudioTimeAxisViewPtr;
+
+class MidiTimeAxisView;
+
+typedef boost::shared_ptr<MidiTimeAxisView> MidiTimeAxisViewPtr;
+typedef boost::shared_ptr<const MidiTimeAxisView> MidiTimeAxisViewConstPtr;