mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-14 01:36:21 -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:
@@ -29,6 +29,9 @@
|
||||
#include "Analyzer.h"
|
||||
#include "SaControlsDialog.h"
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
|
||||
SaControls::SaControls(Analyzer *effect) :
|
||||
EffectControls(effect),
|
||||
@@ -121,9 +124,9 @@ SaControls::SaControls(Analyzer *effect) :
|
||||
|
||||
|
||||
// Create the SaControlDialog widget which handles display of GUI elements.
|
||||
EffectControlDialog* SaControls::createView()
|
||||
gui::EffectControlDialog* SaControls::createView()
|
||||
{
|
||||
return new SaControlsDialog(this, m_effect->getProcessor());
|
||||
return new gui::SaControlsDialog(this, m_effect->getProcessor());
|
||||
}
|
||||
|
||||
|
||||
@@ -174,3 +177,6 @@ void SaControls::saveSettings(QDomDocument &doc, QDomElement &parent)
|
||||
m_zeroPaddingModel.saveSettings(doc, parent, "ZeroPadding");
|
||||
|
||||
}
|
||||
|
||||
|
||||
} // namespace lmms
|
||||
|
||||
Reference in New Issue
Block a user