partially-done (but compile-friendly) move of instrument info into a new backend...
[ardour.git] / libs / ardour / ardour / route.h
index bdda941a97354a9f99dd18cb3d3ecf82eca14475..5a828513e3ee9c4b0ab8cac717e927775edba71e 100644 (file)
@@ -41,6 +41,7 @@
 #include "pbd/destructible.h"
 
 #include "ardour/ardour.h"
+#include "ardour/instrument_info.h"
 #include "ardour/io.h"
 #include "ardour/types.h"
 #include "ardour/mute_master.h"
@@ -405,6 +406,7 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
           special case not covered by this utility function.
        */
        boost::shared_ptr<Processor> the_instrument() const;
+        InstrumentInfo& instrument_info() { return _instrument_info; }
 
        void automation_snapshot (framepos_t now, bool force=false);
        void protect_automation ();
@@ -500,6 +502,8 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
        DataType       _default_type;
        FedBy          _fed_by;
 
+        InstrumentInfo _instrument_info;
+
        virtual ChanCount input_streams () const;
 
   protected: