From d4394595896e2f4c91079fa66f15a4e88f66f1d3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Feb 2009 17:39:49 +0000 Subject: [PATCH] Remove abstract MIDIFile interface (maintaining interface with old crap was getting annoying). git-svn-id: svn://localhost/ardour2/branches/3.0@4553 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/evoral/MIDIFile.hpp | 68 --------------------------------- libs/evoral/evoral/OldSMF.hpp | 4 +- libs/evoral/evoral/SMF.hpp | 9 ++++- libs/evoral/src/OldSMF.cpp | 2 +- libs/evoral/src/SMF.cpp | 6 +-- 5 files changed, 12 insertions(+), 77 deletions(-) delete mode 100644 libs/evoral/evoral/MIDIFile.hpp diff --git a/libs/evoral/evoral/MIDIFile.hpp b/libs/evoral/evoral/MIDIFile.hpp deleted file mode 100644 index b605b8af60..0000000000 --- a/libs/evoral/evoral/MIDIFile.hpp +++ /dev/null @@ -1,68 +0,0 @@ -/* This file is part of Evoral. - * Copyright(C) 2008 Dave Robillard - * Copyright(C) 2000-2008 Paul Davis - * Author: Hans Baier - * - * 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 - */ - -#ifndef EVORAL_STANDARD_MIDI_FILE_HPP -#define EVORAL_STANDARD_MIDI_FILE_HPP - -#include -#include "evoral/types.hpp" - -namespace Evoral { - -template class Event; -template class EventRingBuffer; - -#define THROW_FILE_ERROR throw(typename MIDIFile