2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2011-03-25 09:25:17 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2011-03-11 12:22:57 +01:00
|
|
|
|
|
|
|
|
#include <extensionsystem/iplugin.h>
|
|
|
|
|
|
2023-01-06 15:32:39 +01:00
|
|
|
namespace QmlProfiler::Internal {
|
2011-03-11 12:22:57 +01:00
|
|
|
|
|
|
|
|
class QmlProfilerPlugin : public ExtensionSystem::IPlugin
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
2012-02-21 16:52:28 +01:00
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlProfiler.json")
|
2011-03-11 12:22:57 +01:00
|
|
|
|
2017-08-15 16:41:32 +02:00
|
|
|
private:
|
2018-02-15 14:40:18 +01:00
|
|
|
bool initialize(const QStringList &arguments, QString *errorString) final;
|
|
|
|
|
void extensionsInitialized() final;
|
|
|
|
|
ShutdownFlag aboutToShutdown() final;
|
|
|
|
|
|
|
|
|
|
class QmlProfilerPluginPrivate *d = nullptr;
|
2011-03-11 12:22:57 +01:00
|
|
|
};
|
|
|
|
|
|
2023-01-06 15:32:39 +01:00
|
|
|
} // QmlProfiler::Internal
|