1 /* 2 * @(#)listen/ins/Destination.h 3.00 21 August 2000 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_INS_DESTINATION_H 18 #define TSE3_LISTEN_INS_DESTINATION_H 19 20 #include <cstddef> 21 22 namespace TSE3 23 { 24 namespace Ins 25 { 26 class Instrument; 27 class Destination; 28 29 /** 30 * @ref Desintation listener interface. 31 * 32 * @author Pete Goodliffe 33 * @version 3.00 34 * @see Listener 35 */ 36 class DestinationListener 37 { 38 public: 39 typedef Destination notifier_type; 40 Destination_Altered(Destination *,size_t,size_t,Instrument *)41 virtual void Destination_Altered(Destination *, 42 size_t /*channel*/, 43 size_t /*port*/, 44 Instrument *) {} Destination_InstrumentAdded(Destination *,Instrument *)45 virtual void Destination_InstrumentAdded(Destination*, 46 Instrument *) {} Destination_InstrumentRemoved(Destination *,Instrument *)47 virtual void Destination_InstrumentRemoved(Destination *, 48 Instrument *) {} 49 }; 50 } 51 } 52 53 #endif 54