00001 /* 00002 * @(#)listen/Part.h 3.00 25 May 1999 00003 * 00004 * Copyright (c) 2000 Pete Goodliffe (pete@cthree.org) 00005 * 00006 * This file is part of TSE3 - the Trax Sequencer Engine version 3.00. 00007 * 00008 * This library is modifiable/redistributable under the terms of the GNU 00009 * General Public License. 00010 * 00011 * You should have received a copy of the GNU General Public License along 00012 * with this program; see the file COPYING. If not, write to the Free Software 00013 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00014 * 00015 */ 00016 00017 #ifndef TSE3_LISTEN_PART_H 00018 #define TSE3_LISTEN_PART_H 00019 00020 #include "tse3/Midi.h" 00021 00022 namespace TSE3 00023 { 00024 class Part; 00025 class Phrase; 00026 00034 class PartListener 00035 { 00036 public: 00037 typedef Part notifier_type; 00038 00039 virtual void Part_StartAltered(Part *, Clock /*start*/) {} 00040 virtual void Part_EndAltered(Part *, Clock /*end*/) {} 00041 virtual void Part_RepeatAltered(Part *, Clock /*repeat*/) {} 00042 virtual void Part_PhraseAltered(Part *, Phrase * /*phrase*/) {} 00043 virtual void Part_Reparented(Part *) {} 00044 00045 virtual void Part_MidiFilterAltered(Part *, int /*what*/) {} 00046 virtual void Part_MidiParamsAltered(Part *, int /*what*/) {} 00047 virtual void Part_DisplayParamsAltered(Part *) {} 00048 }; 00049 } 00050 00051 #endif