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 * |
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: |
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 |
/** |
/** |
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 |
*/ |
*/ |