forked from qt-creator/qt-creator
Meson: Cleanup mesonprojectplugin.*
Some unnneded code + final. Change-Id: Ied2a29d20c624b8e5e2eefb56253b0412554ad44 Reviewed-by: Alexis Jeandet <alexis.jeandet@member.fsf.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -38,20 +38,11 @@
|
||||
#include "settings/tools/toolssettingsaccessor.h"
|
||||
#include "settings/tools/toolssettingspage.h"
|
||||
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/projectmanager.h>
|
||||
#include <projectexplorer/runcontrol.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <utils/parameteraction.h>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
using namespace Core;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
@@ -113,8 +104,6 @@ bool MesonProjectPlugin::initialize(const QStringList & /*arguments*/, QString *
|
||||
return true;
|
||||
}
|
||||
|
||||
void MesonProjectPlugin::extensionsInitialized() {}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace MesonProjectManager
|
||||
|
||||
|
@@ -30,22 +30,16 @@
|
||||
namespace MesonProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
class MesonProjectPlugin : public ExtensionSystem::IPlugin
|
||||
class MesonProjectPlugin final : public ExtensionSystem::IPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "MesonProjectManager.json")
|
||||
|
||||
public:
|
||||
~MesonProjectPlugin() override;
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
private slots:
|
||||
|
||||
#endif
|
||||
~MesonProjectPlugin() final;
|
||||
|
||||
private:
|
||||
bool initialize(const QStringList &arguments, QString *errorMessage) override;
|
||||
void extensionsInitialized() override;
|
||||
bool initialize(const QStringList &arguments, QString *errorMessage) final;
|
||||
|
||||
class MesonProjectPluginPrivate *d = nullptr;
|
||||
};
|
||||
|
Reference in New Issue
Block a user