2013-06-11 15:13:33 +02:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
2015-01-15 10:33:32 +01:00
|
|
|
** Copyright (C) 2015 The Qt Company Ltd
|
2013-06-20 12:34:02 +02:00
|
|
|
** All rights reserved.
|
2015-01-15 10:33:32 +01:00
|
|
|
** For any questions to The Qt Company, please use contact form at http://www.qt.io/contact-us
|
2013-06-11 15:13:33 +02:00
|
|
|
**
|
2013-06-20 12:34:02 +02:00
|
|
|
** This file is part of the Qt Enterprise Qt Quick Profiler Add-on.
|
2013-06-11 15:13:33 +02:00
|
|
|
**
|
2013-06-20 12:34:02 +02:00
|
|
|
** Licensees holding valid Qt Enterprise licenses may use this file in
|
|
|
|
|
** accordance with the Qt Enterprise License Agreement provided with the
|
2013-06-11 15:13:33 +02:00
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2015-01-15 10:33:32 +01:00
|
|
|
** a written agreement between you and The Qt Company.
|
2013-06-20 12:34:02 +02:00
|
|
|
**
|
|
|
|
|
** If you have questions regarding the use of this file, please use
|
2015-01-15 10:33:32 +01:00
|
|
|
** contact form at http://www.qt.io/contact-us
|
2013-06-11 15:13:33 +02:00
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
2013-06-24 14:17:43 +02:00
|
|
|
#ifndef QMLPROFILEREXTENSION_H
|
|
|
|
|
#define QMLPROFILEREXTENSION_H
|
2013-06-11 15:13:33 +02:00
|
|
|
|
2013-06-24 14:17:43 +02:00
|
|
|
#include "qmlprofilerextension_global.h"
|
2013-06-11 15:13:33 +02:00
|
|
|
|
|
|
|
|
#include <extensionsystem/iplugin.h>
|
|
|
|
|
|
2013-06-24 14:17:43 +02:00
|
|
|
namespace QmlProfilerExtension {
|
2013-06-11 15:13:33 +02:00
|
|
|
namespace Internal {
|
|
|
|
|
|
2013-06-24 14:17:43 +02:00
|
|
|
class QmlProfilerExtensionPlugin : public ExtensionSystem::IPlugin
|
2013-06-11 15:13:33 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
2013-06-24 14:17:43 +02:00
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlProfilerExtension.json")
|
2013-06-11 15:13:33 +02:00
|
|
|
|
|
|
|
|
public:
|
2013-06-24 14:17:43 +02:00
|
|
|
QmlProfilerExtensionPlugin();
|
|
|
|
|
~QmlProfilerExtensionPlugin();
|
2013-06-11 15:13:33 +02:00
|
|
|
|
|
|
|
|
bool initialize(const QStringList &arguments, QString *errorString);
|
|
|
|
|
void extensionsInitialized();
|
|
|
|
|
ShutdownFlag aboutToShutdown();
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void triggerAction();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
2013-06-24 14:17:43 +02:00
|
|
|
} // namespace QmlProfilerExtension
|
2013-06-11 15:13:33 +02:00
|
|
|
|
2013-06-24 14:17:43 +02:00
|
|
|
#endif // QMLPROFILEREXTENSION_H
|
2013-06-11 15:13:33 +02:00
|
|
|
|