add abort() to non-reached code
[ardour.git] / libs / midi++2 / midi++ / mmc.h
index 01f8bf3b8ad107993e5b0713ff16cdf73fe6e8e0..b52f4bded88325fbc245cf190b355abc6534c3ff 100644 (file)
 #ifndef __midipp_mmc_h_h__
 #define __midipp_mmc_h_h__
 
-#include <jack/types.h>
 #include "timecode/time.h"
 
 #include "pbd/signals.h"
 #include "pbd/ringbuffer.h"
 
+#include "midi++/libmidi_visibility.h"
 #include "midi++/types.h"
 #include "midi++/parser.h"
 
@@ -40,7 +40,7 @@ class Parser;
 class MachineControlCommand;
 
 /** Class to handle incoming and outgoing MIDI machine control messages */
-class MachineControl 
+class LIBMIDIPP_API MachineControl 
 {
   public:
        typedef PBD::Signal1<void,MachineControl&> MMCSignal;
@@ -107,7 +107,7 @@ class MachineControl
        byte send_device_id () const { return _send_device_id; }
        void enable_send (bool);
        bool send_enabled () const { return _enable_send; }
-       void send (MachineControlCommand const &);
+       void send (MachineControlCommand const &, timestamp_t when);
 
        static bool is_mmc (byte *sysex_buf, size_t len);
 
@@ -287,7 +287,7 @@ class MachineControl
  *  In an ideal world we might use a class hierarchy for this, but objects of this type
  *  have to be allocated off the stack for RT safety.
  */
-class MachineControlCommand
+class LIBMIDIPP_API MachineControlCommand
 {
 public:
        MachineControlCommand () : _command (MachineControl::Command (0)) {}