reinstate Ye Olde MIDI (input) thread; fix up a few startup warnings
[ardour.git] / libs / midi++2 / midi++ / fifomidi.h
index 57d1502c453d8804a59f414e98115c69f1f03ef5..3439c27dcfb64cace2cfe46ee5004c6105de45f6 100644 (file)
@@ -25,7 +25,6 @@
 #include <unistd.h>
 
 #include <midi++/port.h>
-#include <midi++/port_request.h>
 #include <midi++/fd_midiport.h>
 
 namespace MIDI {
@@ -34,11 +33,18 @@ class FIFO_MidiPort : public MIDI::FD_MidiPort
 
 {
   public:
-       FIFO_MidiPort (PortRequest &req);
+       FIFO_MidiPort (const XMLNode&);
        ~FIFO_MidiPort () {};
 
+       static std::string typestring;
+
+  protected:
+       std::string get_typestring () const {
+               return typestring;
+       }
+
   private:
-       void open (PortRequest &req);
+       void open (const Port::Descriptor&);
 };
 
 } // namespace MIDI