zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 12eefc9ff161c36d5b50994ed447ea299c5bee37
parent 83ec24d23a66e2fba8672ed4b2b9477163375373
Author: Mark McCurry <mark.d.mccurry@gmail.com>
Date:   Fri,  5 Jun 2009 20:12:39 -0400

Made getmidicmd pure virtual & deleted destructor (unused)

Diffstat:
Msrc/Input/MidiIn.h | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/Input/MidiIn.h b/src/Input/MidiIn.h @@ -37,8 +37,7 @@ class MidiIn{ * @param cmdtype the referece to the variable that will store the type * @param cmdchan the channel for the event * @param parameters for the event*/ - virtual void getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,int *cmdparams){}; - virtual ~MidiIn(){};//**< \todo figure out if this declaation the intended one*/ + virtual void getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,int *cmdparams)=0; int getcontroller(unsigned char b); protected: int inputok;/**<1 if I can read midi bytes from input ports*/