QmlProfiler: first commit

This commit is contained in:
Christiaan Janssen
2011-03-11 12:22:57 +01:00
parent 39daf23247
commit f774556de7
40 changed files with 4337 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
#ifndef QMLPROFILERPLUGIN_H
#define QMLPROFILERPLUGIN_H
#include "qmlprofiler_global.h"
#include <extensionsystem/iplugin.h>
namespace Analyzer {
namespace Internal {
class QmlProfilerPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
public:
static QmlProfilerPlugin *instance();
QmlProfilerPlugin();
~QmlProfilerPlugin();
bool initialize(const QStringList &arguments, QString *errorString);
void extensionsInitialized();
ShutdownFlag aboutToShutdown();
static bool debugOutput;
private:
class QmlProfilerPluginPrivate;
QmlProfilerPluginPrivate *d;
static QmlProfilerPlugin *m_instance;
};
} // namespace Internal
} // namespace Analyzer
#endif // QMLPROFILERPLUGIN_H