/[svn]/linuxsampler/trunk/src/EventListeners.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/EventListeners.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1541 by iliev, Tue Dec 4 18:09:26 2007 UTC revision 1686 by schoenebeck, Thu Feb 14 14:58:50 2008 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2007 Grigor Iliev                                       *   *   Copyright (C) 2007, 2008 Grigor Iliev                                 *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 26  Line 26 
26    
27  namespace LinuxSampler {  namespace LinuxSampler {
28    
29        // just symbol prototyping
30        class SamplerChannel;
31    
32      template<class L>      template<class L>
33      class ListenerList {      class ListenerList {
34          public:          public:
# Line 87  namespace LinuxSampler { Line 90  namespace LinuxSampler {
90               * @param NewCount The new number of sampler channels.               * @param NewCount The new number of sampler channels.
91               */               */
92              virtual void ChannelCountChanged(int NewCount) = 0;              virtual void ChannelCountChanged(int NewCount) = 0;
93                virtual void ChannelAdded(SamplerChannel* pChannel) = 0;
94                virtual void ChannelToBeRemoved(SamplerChannel* pChannel) = 0;
95      };      };
96    
97      /**      /**
# Line 263  namespace LinuxSampler { Line 268  namespace LinuxSampler {
268      class EngineChangeListener {      class EngineChangeListener {
269          public:          public:
270              /**              /**
271                 * Invoked when the engine type of the specified sampler channel
272                 * is going to be changed soon.
273                 * @param ChannelId The numerical ID of the sampler channel
274                 */
275                virtual void EngineToBeChanged(int ChannelId) = 0;
276    
277                /**
278               * Invoked when the engine type of the               * Invoked when the engine type of the
279               * specified sampler channel is changed.               * specified sampler channel was changed.
280               * @param ChannelId The numerical ID of the sampler               * @param ChannelId The numerical ID of the sampler
281               * channel, which engine type has been changed.               * channel, which engine type has been changed.
282               */               */

Legend:
Removed from v.1541  
changed lines
  Added in v.1686

  ViewVC Help
Powered by ViewVC