#include "pbd/signals.h"
+#include "midi++/libmidi_visibility.h"
#include "midi++/types.h"
namespace MIDI {
-class PortBase;
+class Port;
class Parser;
typedef PBD::Signal1<void,Parser&> ZeroByteSignal;
typedef PBD::Signal2<void,Parser &, pitchbend_t> PitchBendSignal;
typedef PBD::Signal3<void,Parser &, byte *, size_t> Signal;
-class Parser {
+class LIBMIDIPP_API Parser {
public:
- Parser (PortBase &p);
+ Parser ();
~Parser ();
/* sets the time that will be reported for any MTC or MIDI Clock
const char *midi_event_type_name (MIDI::eventType);
void trace (bool onoff, std::ostream *o, const std::string &prefix = "");
bool tracing() { return trace_stream != 0; }
- PortBase &port() { return _port; }
void set_offline (bool);
bool offline() const { return _offline; }
void reset_mtc_state ();
private:
- PortBase&_port;
/* tracing */
std::ostream *trace_stream;