new functionality to add MIDI ports from the options editor, not totally finished...
[ardour.git] / libs / midi++2 / midi++ / alsa_sequencer.h
index 5ca70529c5b6a2c2924308828b4af6c8d4707aaa..78e4a0168374406f6b3685cf9f58fa0baee70b9d 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <alsa/asoundlib.h>
 #include <midi++/port.h>
+#include <midi++/port_request.h>
 
 namespace MIDI {
 
@@ -40,6 +41,8 @@ class ALSA_SequencerMidiPort : public Port
        /* select(2)/poll(2)-based I/O */
 
        virtual int selectable() const;
+       
+       static int discover (std::vector<PortSet>&);
 
   protected:
        /* Direct I/O */