commit 9c423728bc7f5dcc50ddff30afdc53ee35ab7c0d
parent 248000c19be35c3b86df76029a843399eaa3f88f
Author: Mark McCurry <[email protected]>
Date: Fri, 5 Jun 2009 20:12:39 -0400
Made getmidicmd pure virtual & deleted destructor (unused)
Diffstat:
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*/