forked from qt-creator/qt-creator
QmlProjectPlugin: Clean up
- Remove unneeded use of global object pool - Remove a few unneeded includes and declarations - Un-export class, it's not used from the outside Change-Id: Iddfcf74b754c936a8adb23c2caa6f7eef6d0e654 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -25,23 +25,24 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "qmlprojectmanager_global.h"
|
||||
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
namespace QmlProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
class QMLPROJECTMANAGER_EXPORT QmlProjectPlugin: public ExtensionSystem::IPlugin
|
||||
class QmlProjectPlugin: public ExtensionSystem::IPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlProjectManager.json")
|
||||
|
||||
public:
|
||||
QmlProjectPlugin();
|
||||
~QmlProjectPlugin();
|
||||
QmlProjectPlugin() = default;
|
||||
~QmlProjectPlugin() final;
|
||||
|
||||
virtual bool initialize(const QStringList &arguments, QString *errorString);
|
||||
virtual void extensionsInitialized();
|
||||
private:
|
||||
bool initialize(const QStringList &arguments, QString *errorString) final;
|
||||
void extensionsInitialized() final {}
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProject
|
||||
|
||||
Reference in New Issue
Block a user