00001 /* 00002 * @(#)listen/MidiEcho.h 3.00 22 February 2000 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_MIDIECHO_H 00018 #define TSE3_LISTEN_MIDIECHO_H 00019 00020 namespace TSE3 00021 { 00022 class MidiEcho; 00023 00031 class MidiEchoListener 00032 { 00033 public: 00034 typedef MidiEcho notifier_type; 00035 00036 enum WhatChanged 00037 { 00038 ChannelChanged = 0x1, 00039 PortChanged = 0x2 00040 }; 00041 00042 virtual void MidiEcho_Altered(MidiEcho *, int /*what*/) {} 00043 }; 00044 } 00045 00046 #endif