1 /* 2 * @(#)listen/Part.h 3.00 25 May 1999 3 * 4 * Copyright (c) 2000 Pete Goodliffe (pete@cthree.org) 5 * 6 * This file is part of TSE3 - the Trax Sequencer Engine version 3.00. 7 * 8 * This library is modifiable/redistributable under the terms of the GNU 9 * General Public License. 10 * 11 * You should have received a copy of the GNU General Public License along 12 * with this program; see the file COPYING. If not, write to the Free Software 13 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 14 * 15 */ 16 17 #ifndef TSE3_LISTEN_PART_H 18 #define TSE3_LISTEN_PART_H 19 20 #include "tse3/Midi.h" 21 22 namespace TSE3 23 { 24 class Part; 25 class Phrase; 26 27 /** 28 * @ref Part listener interface. 29 * 30 * @author Pete Goodliffe 31 * @version 3.00 32 * @see Listener 33 */ 34 class PartListener 35 { 36 public: 37 typedef Part notifier_type; 38 Part_StartAltered(Part *,Clock)39 virtual void Part_StartAltered(Part *, Clock /*start*/) {} Part_EndAltered(Part *,Clock)40 virtual void Part_EndAltered(Part *, Clock /*end*/) {} Part_RepeatAltered(Part *,Clock)41 virtual void Part_RepeatAltered(Part *, Clock /*repeat*/) {} Part_PhraseAltered(Part *,Phrase *)42 virtual void Part_PhraseAltered(Part *, Phrase * /*phrase*/) {} Part_Reparented(Part *)43 virtual void Part_Reparented(Part *) {} 44 Part_MidiFilterAltered(Part *,int)45 virtual void Part_MidiFilterAltered(Part *, int /*what*/) {} Part_MidiParamsAltered(Part *,int)46 virtual void Part_MidiParamsAltered(Part *, int /*what*/) {} Part_DisplayParamsAltered(Part *)47 virtual void Part_DisplayParamsAltered(Part *) {} 48 }; 49 } 50 51 #endif 52