Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

/home/pete/Work/TSE3.svn/tse3/src/tse3/listen/Panic.h

Go to the documentation of this file.
00001 /*
00002  * @(#)listen/Panic.h 3.00 21 June 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_PANIC_H
00018 #define TSE3_LISTEN_PANIC_H
00019 
00020 namespace TSE3
00021 {
00022     class Panic;
00023 
00031     class PanicListener
00032     {
00033         public:
00034             typedef Panic notifier_type;
00035 
00036             enum WhatChanged
00037             {
00038                 StatusChanged              = 0x0001,
00039                 PortChanged                = 0x2000,
00040                 MidiResetChanged           = 0x0002,
00041                 GmResetChanged             = 0x0004,
00042                 GsResetChanged             = 0x0008,
00043                 XgResetChanged             = 0x0010,
00044                 GsIDMaskChanged            = 0x0020,
00045                 XgIDMaskChanged            = 0x0040,
00046                 AllNotesOffChanged         = 0x0080,
00047                 AllNotesOffManuallyChanged = 0x0100,
00048                 AllModsOffChanged          = 0x0200,
00049                 AllPitchOffChanged         = 0x0400,
00050                 AllCtrlOffChanged          = 0x0800,
00051                 LiftSustainChanged         = 0x1000
00052             };
00053 
00054             virtual void Panic_Altered(Panic *, int /*what*/) {}
00055     };
00056 }
00057 
00058 #endif

Generated on Wed May 25 14:45:07 2005 for TSE3 by doxygen 1.3.2