Optimize automation-event process splitting
[ardour.git] / libs / ardour / ardour / interthread_info.h
index 908276067a9ab556dcd03d45aeac5a9e561aa81b..49055de5d0c9790ed60a49dddd513a10614b6383 100644 (file)
 
 #include <pthread.h>
 
+#include "ardour/libardour_visibility.h"
 #include "ardour/types.h"
 #include "ardour/process_thread.h"
 
 namespace ARDOUR {
 
-       struct InterThreadInfo {
-               InterThreadInfo () : done (false), cancel (false), progress (0), thread (0) {}
+       class InterThreadInfo {
+       public:
+               InterThreadInfo () : done (false), cancel (false), progress (0), thread () {}
 
                volatile bool  done;
                volatile bool  cancel;
                volatile float progress;
                pthread_t      thread;
-               ProcessThread  process_thread;
+               ProcessThread  process_thread;
        };
 
 } // namespace