reinstate Ye Olde MIDI (input) thread; fix up a few startup warnings
[ardour.git] / libs / midi++2 / midi++ / fifomidi.h
index 200d90eda8da21b59bc343366febb57c11e46217..3439c27dcfb64cace2cfe46ee5004c6105de45f6 100644 (file)
@@ -14,7 +14,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __fifomidi_h__
@@ -26,7 +25,6 @@
 #include <unistd.h>
 
 #include <midi++/port.h>
-#include <midi++/port_request.h>
 #include <midi++/fd_midiport.h>
 
 namespace MIDI {
@@ -35,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