#include <string>
#include <iostream>
+#include <pthread.h>
+
#include "pbd/xml++.h"
+#ifndef PLATFORM_WINDOWS
#include "pbd/crossthread.h"
+#endif
#include "pbd/signals.h"
#include "pbd/ringbuffer.h"
+#include "midi++/libmidi_visibility.h"
#include "midi++/types.h"
#include "midi++/parser.h"
class Channel;
class PortRequest;
-class Port {
+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);
void init (std::string const &, Flags);
};
-struct PortSet {
+struct LIBMIDIPP_API PortSet {
PortSet (std::string str) : owner (str) { }
std::string owner;