1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef LINE6POD2_PROGRAM_CHANGES_H_UKL7VU9H
#define LINE6POD2_PROGRAM_CHANGES_H_UKL7VU9H

#include "interpreter/midimessage.h"

namespace interpreter {
    class Line6Pod2ProgramChange : public MidiMessage
    {
        public:
            Line6Pod2ProgramChange(const QByteArray &message);
            virtual ~Line6Pod2ProgramChange();

            int getBank() const;
            char getChannel() const;

            virtual QString toString() const;<--- Function in derived class

        protected:
            int m_bank;
            char m_channel;
    };

}

#endif /* end of include guard: LINE6POD2_PROGRAM_CHANGES_H_UKL7VU9H */