Files
qt-creator/src/plugins/qmlprofiler/qmlprofilerplugin.h

32 lines
822 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
2011-03-25 09:25:17 +01:00
#pragma once
2011-03-11 12:22:57 +01:00
#include <extensionsystem/iplugin.h>
namespace QmlProfiler {
2011-03-11 12:22:57 +01:00
namespace Internal {
class QmlProfilerSettings;
2011-03-11 12:22:57 +01:00
class QmlProfilerPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlProfiler.json")
2011-03-11 12:22:57 +01:00
public:
static QmlProfilerSettings *globalSettings();
private:
bool initialize(const QStringList &arguments, QString *errorString) final;
void extensionsInitialized() final;
ShutdownFlag aboutToShutdown() final;
QVector<QObject *> createTestObjects() const final;
class QmlProfilerPluginPrivate *d = nullptr;
2011-03-11 12:22:57 +01:00
};
} // namespace Internal
} // namespace QmlProfiler