InstrumentTrack: made pitch range model publicly accessible

Added InstrumentTrack::pitchRangeModel() in order to allow other classes
to access pitch range model.
This commit is contained in:
Tobias Doerffel
2009-05-16 17:17:54 +02:00
parent 41907a7ebf
commit f514dfdbb3

View File

@@ -161,11 +161,6 @@ public:
// simple helper for removing midiport-XML-node when loading presets
static void removeMidiPortNode( multimediaProject & _mmp );
floatModel * pitchModel( void )
{
return &m_pitchModel;
}
floatModel * volumeModel( void )
{
return &m_volumeModel;
@@ -176,6 +171,16 @@ public:
return &m_panningModel;
}
floatModel * pitchModel( void )
{
return &m_pitchModel;
}
intModel * pitchRangeModel( void )
{
return &m_pitchRangeModel;
}
intModel * effectChannelModel( void )
{
return &m_effectChannelModel;