changed return-type of effectControls::getControlCount()

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1124 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-14 17:11:51 +00:00
parent 32d5ca7c64
commit 28c689f953
10 changed files with 9 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ public:
{
}
virtual ch_cnt_t getControlCount( void )
virtual int getControlCount( void )
{
return( 0 );
}

View File

@@ -48,7 +48,7 @@ public:
{
}
virtual ch_cnt_t getControlCount( void ) = 0;
virtual int getControlCount( void ) = 0;
virtual effectControlDialog * createView( void ) = 0;

View File

@@ -38,8 +38,7 @@ plugin::descriptor PLUGIN_EXPORT bassbooster_plugin_descriptor =
STRINGIFY_PLUGIN_NAME( PLUGIN_NAME ),
"BassBooster Effect",
QT_TRANSLATE_NOOP( "pluginBrowser",
"plugin for using arbitrary VST-effects "
"inside LMMS." ),
"plugin for boosting bass" ),
"Tobias Doerffel <tobydox/at/users.sf.net>",
0x0100,
plugin::Effect,

View File

@@ -26,13 +26,8 @@
#ifndef _BASS_BOOSTER_H
#define _BASS_BOOSTER_H
#include <QtGui/QWorkspace>
#include "effect.h"
#include "effect_lib.h"
#include "engine.h"
#include "main_window.h"
#include "bassbooster_controls.h"

View File

@@ -49,7 +49,7 @@ public:
return( "bassboostercontrols" );
}
virtual ch_cnt_t getControlCount( void )
virtual int getControlCount( void )
{
return( 3 );
}

View File

@@ -42,7 +42,7 @@ public:
ladspaControls( ladspaEffect * _eff, track * _track );
virtual ~ladspaControls();
inline ch_cnt_t getControlCount( void )
inline int getControlCount( void )
{
return( m_controlCount );
}

View File

@@ -47,7 +47,7 @@ public:
return( "peakcontrollereffectcontrols" );
}
virtual ch_cnt_t getControlCount( void )
virtual int getControlCount( void )
{
return( 1 );
}

View File

@@ -47,7 +47,7 @@ public:
return( "stereoenhancercontrols" );
}
virtual ch_cnt_t getControlCount( void )
virtual int getControlCount( void )
{
return( 1 );
}

View File

@@ -47,7 +47,7 @@ public:
return( "stereomatrixcontrols" );
}
virtual ch_cnt_t getControlCount( void )
virtual int getControlCount( void )
{
return( 1 );
}

View File

@@ -49,7 +49,7 @@ public:
return( "vsteffectcontrols" );
}
virtual ch_cnt_t getControlCount( void )
virtual int getControlCount( void )
{
return( 1 );
}