aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2020-08-31 13:22:42 +0300
committerWohlstand <admin@wohlnet.ru>2020-08-31 13:22:42 +0300
commit46fffa615b3012a51d6523143a4505b80dcd78d1 (patch)
treea5138b0d837950173a0bce747306874b21dcf3c7 /include
parent3916fde906ae42d57cfc7ba074afaf3b2e01417c (diff)
downloadlibADLMIDI-46fffa615b3012a51d6523143a4505b80dcd78d1.tar.gz
libADLMIDI-46fffa615b3012a51d6523143a4505b80dcd78d1.tar.bz2
libADLMIDI-46fffa615b3012a51d6523143a4505b80dcd78d1.zip
Remove C++ extras
All C++ binded features are useless since C-binded real-time MIDI API can completely replace them at all. This was a workaround for ADLMIDI2 tool.
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.hpp56
1 files changed, 0 insertions, 56 deletions
diff --git a/include/adlmidi.hpp b/include/adlmidi.hpp
deleted file mode 100644
index 0df6dd4..0000000
--- a/include/adlmidi.hpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * libADLMIDI is a free Software MIDI synthesizer library with OPL3 emulation
- *
- * Original ADLMIDI code: Copyright (c) 2010-2014 Joel Yliluoma <bisqwit@iki.fi>
- * ADLMIDI Library API: Copyright (c) 2015-2020 Vitaly Novichkov <admin@wohlnet.ru>
- *
- * Library is based on the ADLMIDI, a MIDI player for Linux and Windows with OPL3 emulation:
- * http://iki.fi/bisqwit/source/adlmidi.html
- *
- * 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 3 of the License, or
- * 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, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef ADLMIDI_HPP
-#define ADLMIDI_HPP
-
-#include "adlmidi.h"
-
-struct ADL_MIDIPlayer;
-
-class ADLMIDI_DECLSPEC AdlInstrumentTester
-{
- struct Impl;
- Impl *p;
-
-public:
- explicit AdlInstrumentTester(ADL_MIDIPlayer *device);
- virtual ~AdlInstrumentTester();
-
- void start();
-
- // Find list of adlib instruments that supposedly implement this GM
- void FindAdlList();
- void DoNote(int note);
- void DoNoteOff();
- void NextGM(int offset);
- void NextAdl(int offset);
- bool HandleInputChar(char ch);
-
-private:
- AdlInstrumentTester(const AdlInstrumentTester &);
- AdlInstrumentTester &operator=(const AdlInstrumentTester &);
-};
-
-#endif //ADLMIDI_HPP
-