Logo Search packages:      
Sourcecode: qamix version File versions  Download package

midicontrollerlist.cpp

#include <qcollection.h>
#include "midicontrollerlist.h"
#include "midicontroller.h"

MidiControllerList::MidiControllerList(){
}

MidiControllerList::~MidiControllerList(){
}

int MidiControllerList::compareItems(QCollection::Item item1, QCollection::Item item2) {

    if ((((MidiController *)item1)->type==((MidiController *)item2)->type)
      &&(((MidiController *)item1)->ch==((MidiController *)item2)->ch)
      &&(((MidiController *)item1)->param==((MidiController *)item2)->param)) {
      return(0);
    } else {
      return(1);
    }
}

Generated by  Doxygen 1.6.0   Back to index