tweak transport bar spacing
[ardour.git] / libs / pbd / pbd / crossthread.h
index 7a323e198fb29d320c5c86db3aefd6e012054381..a791be57981ea8c4140c5347446466e84d4aba76 100644 (file)
 #ifndef __pbd__crossthread_h__
 #define __pbd__crossthread_h__
 
+#ifdef check
+#undef check
+#endif
+
 #include <glibmm/main.h>
 
 class CrossThreadChannel { 
   public:
-       CrossThreadChannel();
+       CrossThreadChannel(bool);
        ~CrossThreadChannel();
        
        void wakeup();
        int selectable() const { return fds[0]; }
 
+        int deliver (char msg);
+        int receive (char& msg);
+        
        void drain ();
        static void drain (int fd);