Files
qt-creator/src/plugins/qmljseditor/qmljseditorplugin.h

39 lines
1007 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
2009-04-22 15:21:04 +02:00
#pragma once
2009-04-22 15:21:04 +02:00
#include <extensionsystem/iplugin.h>
namespace Utils { class JsonSchemaManager; }
namespace QmlJSEditor {
class QuickToolBar;
2009-04-22 15:21:04 +02:00
namespace Internal {
class QmlJSQuickFixAssistProvider;
2009-04-22 15:21:04 +02:00
class QmlJSEditorPlugin final : public ExtensionSystem::IPlugin
2009-04-22 15:21:04 +02:00
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlJSEditor.json")
2009-04-22 15:21:04 +02:00
public:
QmlJSEditorPlugin();
~QmlJSEditorPlugin() final;
2009-04-22 15:21:04 +02:00
static QmlJSQuickFixAssistProvider *quickFixAssistProvider();
static Utils::JsonSchemaManager *jsonManager();
static QuickToolBar *quickToolBar();
private:
bool initialize(const QStringList &arguments, QString *errorMessage) final;
void extensionsInitialized() final;
ShutdownFlag aboutToShutdown() final;
class QmlJSEditorPluginPrivate *d = nullptr;
2009-04-22 15:21:04 +02:00
};
} // namespace Internal
} // namespace QmlJSEditor