move operator << into midi++ from mackie
[ardour.git] / libs / midi++2 / midi++ / port.h
index 0b5e72d81b6b1e4cea6c09cb21459dbf4ecfe211..e095ce0c6417f131712eb7121811470307c9cbec 100644 (file)
@@ -20,6 +20,7 @@
 #define  __libmidi_port_h__
 
 #include <string>
+#include <iostream>
 
 #include <sigc++/sigc++.h>
 
@@ -143,6 +144,8 @@ class Port : public sigc::trackable {
        static size_t nports;
 };
 
+std::ostream & operator << ( std::ostream & os, const Port & port );
+
 } // namespace MIDI
 
 #endif // __libmidi_port_h__