aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/qmlprofilerextended/qmlprofilerextendedplugin.h
blob: 078d597022019fab3177ac008485af807a8a0c50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.  For licensing terms and
** conditions see http://qt.digia.com/licensing.  For further information
** use the contact form at http://qt.digia.com/contact-us.
**
****************************************************************************/

#ifndef QMLPROFILEREXTENDED_H
#define QMLPROFILEREXTENDED_H

#include "qmlprofilerextended_global.h"

#include <extensionsystem/iplugin.h>

namespace QmlProfilerExtended {
namespace Internal {

class QmlProfilerExtendedPlugin : public ExtensionSystem::IPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "QmlProfilerExtended.json")

public:
    QmlProfilerExtendedPlugin();
    ~QmlProfilerExtendedPlugin();

    bool initialize(const QStringList &arguments, QString *errorString);
    void extensionsInitialized();
    ShutdownFlag aboutToShutdown();

private slots:
    void triggerAction();
};

} // namespace Internal
} // namespace QmlProfilerExtended

#endif // QMLPROFILEREXTENDED_H