summaryrefslogtreecommitdiffstats
path: root/logic/profiler/BaseProfiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/profiler/BaseProfiler.h')
-rw-r--r--logic/profiler/BaseProfiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/profiler/BaseProfiler.h b/logic/profiler/BaseProfiler.h
index 4c5f63fc..e0d1d5f6 100644
--- a/logic/profiler/BaseProfiler.h
+++ b/logic/profiler/BaseProfiler.h
@@ -17,16 +17,20 @@ public:
public
slots:
void beginProfiling(MinecraftProcess *process);
+ void abortProfiling();
protected:
BaseInstance *m_instance;
+ QProcess *m_profilerProcess;
virtual void beginProfilingImpl(MinecraftProcess *process) = 0;
+ virtual void abortProfilingImpl();
qint64 pid(QProcess *process);
signals:
void readyToLaunch(const QString &message);
+ void abortLaunch(const QString &message);
};
class BaseProfilerFactory