Namespace lmms (#6174)

This PR places all LMMS symbols into namespaces to eliminate any potential future name collisions between LMMS and third-party modules.

Also, this PR changes back `LmmsCore` to `Engine`, reverting c519921306 .

Co-authored-by: allejok96 <allejok96@gmail.com>
This commit is contained in:
Levin Oehlmann
2022-06-19 20:08:46 +02:00
committed by GitHub
parent 371f7f506d
commit 7227c89847
804 changed files with 6609 additions and 1478 deletions

View File

@@ -42,6 +42,10 @@
#include "plugin_export.h"
namespace lmms
{
static const int wavetableSize = 200;
static const float defaultNormalizationFactor = 1.0f;
@@ -325,15 +329,16 @@ void BitInvader::deleteNotePluginData( NotePlayHandle * _n )
PluginView * BitInvader::instantiateView( QWidget * _parent )
gui::PluginView * BitInvader::instantiateView( QWidget * _parent )
{
return( new BitInvaderView( this, _parent ) );
return( new gui::BitInvaderView( this, _parent ) );
}
namespace gui
{
BitInvaderView::BitInvaderView( Instrument * _instrument,
@@ -571,6 +576,7 @@ void BitInvaderView::normalizeToggled( bool value )
}
} // namespace gui
extern "C"
@@ -584,3 +590,6 @@ PLUGIN_EXPORT Plugin * lmms_plugin_main( Model *m, void * )
}
} // namespace lmms