remove inclusion of jack.h so that we can build on a platform without JACK
[ardour.git] / libs / midi++2 / midi++ / port.h
index 6e55134bb582d2e5d25522421f1d1992ae66df59..5a52cfe898fe97b1adc39be538bb173ee5e3c2a6 100644 (file)
 #include <string>
 #include <iostream>
 
-#include <jack/types.h> /* XXX ... desirable to get rid of this but needed for
-                        * now due to use of JackPortIsXXXX
-                        */
-
 #include <pthread.h>
 
 #include "pbd/xml++.h"
@@ -47,8 +43,8 @@ class PortRequest;
 class LIBMIDIPP_API Port {
   public:
        enum Flags {
-               IsInput = JackPortIsInput,
-               IsOutput = JackPortIsOutput,
+               IsInput = 0x1,  /* MUST MATCH JACK's JackPortIsInput */
+               IsOutput = 0x2, /* MUST MATCH JACK's JackPortIsOutput */
        };
        
        Port (std::string const &, Flags);