-private:
- Mackie::Surface* _surface;
- MIDI::Port* _input_port;
- MIDI::Port* _output_port;
- boost::shared_ptr<ARDOUR::Port> _async_in;
- boost::shared_ptr<ARDOUR::Port> _async_out;
-};
+ std::string input_name() const;
+ std::string output_name() const;
+
+ void reconnect ();
+
+ XMLNode& get_state ();
+ int set_state (const XMLNode&, int version);
+
+ protected:
+
+ private:
+ Mackie::Surface* _surface;
+ MIDI::Port* _input_port;
+ MIDI::Port* _output_port;
+ boost::shared_ptr<ARDOUR::Port> _async_in;
+ boost::shared_ptr<ARDOUR::Port> _async_out;
+};