X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fevoral%2Fsrc%2FMIDIEvent.cpp;h=c642bc3cc378133885a9ae8058320844ca8714f0;hb=eaa7cc5a73416c4b8672ccbf8e53c049e7279285;hp=0ae45c749d45a9e8509b9321af91da353a887cc9;hpb=c5aa71782890fc652531f89f8676cdcc99fa8f53;p=ardour.git diff --git a/libs/evoral/src/MIDIEvent.cpp b/libs/evoral/src/MIDIEvent.cpp index 0ae45c749d..c642bc3cc3 100644 --- a/libs/evoral/src/MIDIEvent.cpp +++ b/libs/evoral/src/MIDIEvent.cpp @@ -1,42 +1,49 @@ /* This file is part of Evoral. - * Copyright (C) 2008 Dave Robillard + * Copyright (C) 2008 David Robillard * Copyright (C) 2000-2008 Paul Davis - * + * * Evoral 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. - * + * * Evoral 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 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., * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "evoral/MIDIEvent.hpp" +#ifdef EVORAL_MIDI_XML + #include "pbd/xml++.h" +#endif + +using namespace std; namespace Evoral { #ifdef EVORAL_MIDI_XML -MIDIEvent::MIDIEvent(const XMLNode& event) - : Event() +template +MIDIEvent