try just removing all PLATFORM_WINDOWS conditionals in ipmidi code to see if it will...
[ardour.git] / libs / surfaces / mackie / midi_byte_array.h
index e77ece1b88a6e8d96c16b53f49ea8e0d0175442d..3d3bcecd28d1688f09e487b180992c6dda7d8277 100644 (file)
@@ -49,17 +49,14 @@ class MidiByteArray : public std::vector<MIDI::byte>
 {
 public:
        MidiByteArray() : std::vector<MIDI::byte>() {}
-       
+
        MidiByteArray( size_t count, MIDI::byte array[] );
 
        /**
                Accepts a preceding count, and then a list of bytes
        */
        MidiByteArray( size_t count, MIDI::byte first, ... );
-       
-       /// return smart pointer to a copy of the bytes
-       boost::shared_array<MIDI::byte> bytes() const;
-               
+
        /// copy the given number of bytes from the given array
        void copy( size_t count, MIDI::byte arr[] );
 };
@@ -67,6 +64,9 @@ public:
 /// append the given byte to the end of the array
 MidiByteArray & operator << ( MidiByteArray & mba, const MIDI::byte & b );
 
+/// append the given string to the end of the array
+MidiByteArray & operator << ( MidiByteArray & mba, const std::string & );
+
 /// append the given array to the end of this array
 MidiByteArray & operator << ( MidiByteArray & mba, const MidiByteArray & barr );