Rename all Controller-family classes to new style

Adjust capitialization on all Controller-related classes to new
standards and update all calling code
This commit is contained in:
Paul Giblock
2009-08-08 13:05:22 -04:00
parent a9a3c796f7
commit f1d60958f0
37 changed files with 352 additions and 386 deletions

View File

@@ -23,9 +23,9 @@
*/
#include "controller.h"
#include "Controller.h"
#include "song.h"
#include "peak_controller.h"
#include "PeakController.h"
#include "peak_controller_effect.h"
#include "embed.cpp"
@@ -60,13 +60,13 @@ peakControllerEffect::peakControllerEffect(
model * _parent,
const descriptor::subPluginFeatures::key * _key ) :
effect( &peakcontrollereffect_plugin_descriptor, _parent, _key ),
m_effectId( ++peakController::s_lastEffectId ),
m_effectId( ++PeakController::s_lastEffectId ),
m_peakControls( this ),
m_autoController( NULL )
{
m_autoController = new peakController( engine::getSong(), this );
m_autoController = new PeakController( engine::getSong(), this );
engine::getSong()->addController( m_autoController );
peakController::s_effects.append( this );
PeakController::s_effects.append( this );
}
@@ -74,10 +74,10 @@ peakControllerEffect::peakControllerEffect(
peakControllerEffect::~peakControllerEffect()
{
int idx = peakController::s_effects.indexOf( this );
int idx = PeakController::s_effects.indexOf( this );
if( idx >= 0 )
{
peakController::s_effects.remove( idx );
PeakController::s_effects.remove( idx );
}
}