2011-03-11 12:22:57 +01:00
|
|
|
#ifndef QMLPROFILERENGINE_H
|
|
|
|
#define QMLPROFILERENGINE_H
|
|
|
|
|
|
|
|
#include "ianalyzerengine.h"
|
|
|
|
|
|
|
|
namespace Analyzer {
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
|
|
class QmlProfilerEngine : public IAnalyzerEngine
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit QmlProfilerEngine(ProjectExplorer::RunConfiguration *runConfiguration);
|
|
|
|
~QmlProfilerEngine();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void processRunning();
|
|
|
|
void processTerminated();
|
|
|
|
void stopRecording();
|
|
|
|
|
|
|
|
public slots:
|
2011-03-24 12:42:15 +01:00
|
|
|
void start();
|
|
|
|
void stop();
|
|
|
|
void spontaneousStop();
|
|
|
|
|
2011-03-11 12:22:57 +01:00
|
|
|
void viewUpdated();
|
|
|
|
|
|
|
|
private:
|
|
|
|
class QmlProfilerEnginePrivate;
|
|
|
|
QmlProfilerEnginePrivate *d;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // QMLPROFILERENGINE_H
|