summaryrefslogtreecommitdiffstats
path: root/logic/profiler/JProfiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/profiler/JProfiler.h')
-rw-r--r--logic/profiler/JProfiler.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/logic/profiler/JProfiler.h b/logic/profiler/JProfiler.h
new file mode 100644
index 00000000..9fa3591a
--- /dev/null
+++ b/logic/profiler/JProfiler.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "BaseProfiler.h"
+
+class JProfiler : public BaseProfiler
+{
+ Q_OBJECT
+public:
+ JProfiler(OneSixInstance *instance, QObject *parent = 0);
+
+protected:
+ void beginProfilingImpl(MinecraftProcess *process);
+};
+
+class JProfilerFactory : public BaseProfilerFactory
+{
+public:
+ void registerSettings(SettingsObject *settings) override;
+ BaseProfiler *createProfiler(OneSixInstance *instance, QObject *parent = 0) override;
+ bool check(const QString &path, QString *error) override;
+};