mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-09 23:35:33 -04:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user