NOOP, remove trailing tabs/whitespace.
[ardour.git] / libs / midi++2 / midi++ / ipmidi_port.h
index a4adb14cf4bb67f3afe6d41eecfd348dadcc00e1..313208892f34c048c9be335d5cc336e05678abae 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 1998-2010 Paul Barton-Davis 
+    Copyright (C) 1998-2010 Paul Barton-Davis
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or
 
 #include <glibmm/threads.h>
 
-#include <jack/types.h>
-
 #include "pbd/xml++.h"
 #include "pbd/crossthread.h"
 #include "pbd/signals.h"
 #include "pbd/ringbuffer.h"
 
+#include "midi++/libmidi_visibility.h"
 #include "midi++/types.h"
 #include "midi++/parser.h"
 #include "midi++/port.h"
 
 namespace MIDI {
 
-class IPMIDIPort : public Port {
+class LIBMIDIPP_API IPMIDIPort : public Port {
   public:
     IPMIDIPort (int base_port = lowest_ipmidi_port_default, const std::string& ifname = std::string());
     IPMIDIPort (const XMLNode&);
     ~IPMIDIPort ();
-    
+
     XMLNode& get_state () const;
     void set_state (const XMLNode&);
-    
+
     int write (const byte *msg, size_t msglen, timestamp_t timestamp);
     int read (byte *buf, size_t bufsize);
     void parse (framecnt_t timestamp);
@@ -70,11 +69,11 @@ class IPMIDIPort : public Port {
 
     static const int lowest_ipmidi_port_default = 21928;
 
-private:       
+private:
     int sockin;
     int sockout;
     struct sockaddr_in addrout;
-    Glib::Threads::Mutex write_lock;    
+    Glib::Threads::Mutex write_lock;
 
     bool open_sockets (int base_port, const std::string& ifname);
     void close_sockets ();