X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fbackends%2Fwavesaudio%2Fwaves_midi_buffer.h;h=de5fc2cdb27e32dafa00209af249a0ffcc6f9771;hb=a9bc95a911de06be737d87edd387b3a572def9b3;hp=b1f6e90c36da87ae1b1b759e82e0dcf75919aab5;hpb=8a6762f189680a7ae6d2060aab97be0c43ae227a;p=ardour.git diff --git a/libs/backends/wavesaudio/waves_midi_buffer.h b/libs/backends/wavesaudio/waves_midi_buffer.h index b1f6e90c36..de5fc2cdb2 100644 --- a/libs/backends/wavesaudio/waves_midi_buffer.h +++ b/libs/backends/wavesaudio/waves_midi_buffer.h @@ -1,47 +1,48 @@ -/* - Copyright (C) 2014 Waves Audio Ltd. - - 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 - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -*/ -#ifndef __libardour_waves_midi_buffer_h__ -#define __libardour_waves_midi_buffer_h__ - -#include "ardour/types.h" - -namespace ARDOUR { - -class WavesMidiEvent; - -class WavesMidiBuffer : public std::vector -{ -public: - WavesMidiBuffer (std::string name); - ~WavesMidiBuffer (); - void clear (); - WavesMidiBuffer& operator += (const WavesMidiBuffer& source); - - inline const std::string name () { return _name; } // for DBG purpouses; - -private: - const std::string _name; -}; - -typedef std::vector::iterator WavesMidiBufferIterator; -typedef std::vector::const_iterator WavesMidiBufferConstIterator; - -} // namespace - -#endif /* __libardour_waves_midi_buffer_h__ */ +/* + Copyright (C) 2013 Waves Audio Ltd. + + 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 + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifndef __libardour_waves_midi_buffer_h__ +#define __libardour_waves_midi_buffer_h__ + +#include "ardour/types.h" + +namespace ARDOUR { + +class WavesMidiEvent; + +class WavesMidiBuffer : public std::vector +{ +public: + WavesMidiBuffer (std::string name); + ~WavesMidiBuffer (); + void clear (); + WavesMidiBuffer& operator += (const WavesMidiBuffer& source); + + inline const std::string name () { return _name; } // for DBG purpouses; + +private: + const std::string _name; +}; + +typedef std::vector::iterator WavesMidiBufferIterator; +typedef std::vector::const_iterator WavesMidiBufferConstIterator; + +} // namespace + +#endif /* __libardour_waves_midi_buffer_h__ */