1 /* 2 * Author: Harry van Haaren 2013 3 * harryhaaren@gmail.com 4 * 5 * This program is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 20 #ifndef LUPPP_NON_SEQ_H 21 #define LUPPP_NON_SEQ_H 22 23 #include "../observer/midi.hxx" 24 #include "controller.hxx" 25 26 /** NonSeq 27 * A class for integrating the NonSeq sequencer with Luppp, providing scene 28 * on / off MIDI events to NonSeq 29 **/ 30 class NonSeq : public Controller, public MidiIO 31 { 32 public: 33 NonSeq(); ~NonSeq()34 ~NonSeq() {}; 35 36 std::string getName(); 37 38 int registerComponents(); 39 40 void launchScene( int scene ); 41 42 void setSceneState(int track, int scene, GridLogic::State s); 43 }; 44 45 #endif // LUPPP_NON_SEQ_H 46