00001 /* 00002 * @(#)listen/PhraseEdit.h 3.00 19 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_PHRASEEDIT_H 00018 #define TSE3_LISTEN_PHRASEEDIT_H 00019 00020 #include "tse3/listen/MidiData.h" 00021 00022 #include <cstddef> 00023 00024 namespace TSE3 00025 { 00026 class PhraseEdit; 00027 00035 class PhraseEditListener : public MidiDataListener 00036 { 00037 public: 00038 typedef PhraseEdit notifier_type; 00039 00040 virtual void PhraseEdit_Reset(PhraseEdit *) {} 00041 virtual void PhraseEdit_Tidied(PhraseEdit *) {} 00042 virtual void PhraseEdit_Inserted(PhraseEdit *, size_t /*index*/) {} 00043 virtual void PhraseEdit_Erased(PhraseEdit *, size_t /*index*/) {} 00044 virtual void PhraseEdit_Selection(PhraseEdit *, 00045 size_t /*index*/, 00046 bool /*selected*/) {} 00047 virtual void PhraseEdit_Modified(PhraseEdit *, bool /*mod*/) {} 00048 }; 00049 } 00050 00051 #endif